JSON can parse the JSON string start/end with space char such as non-break space.

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