JSON.val(key,defaultValue) is available.
Now, json.val(key,defaultValue) is available, in case that json.attr(key) returns null, then the given defaultValue would be returned by val method. Also val(key) takes null as the defaultValue.

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