Refine some codes in JSON.Context while parsing the file.

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