valCast methods are available in JSON, JSAN and JSON.Pair.

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