JSON.valCast(String,Class) serial methods are available.
These methods try to cast value to the target class, if can't then return null. Furthermore, if a defaultValue is given then the defaultValue would be returned instead of the null value.

Signed-off-by: 核心力量 <kernelforce@gmail.com>