Add JSON support and unit test cases

Change-Id: If0dc2eb94c83b0ee5da1ab7a0019eaf84be64e19
Signed-off-by: zhangzhi <snowwolf007cn@hotmail.com>


Change-Id: Id0b38173bae6c8133f703b9b5fe707865e94eb86