support for json type
Merge pull request #68 from ZhengYang/master

support for json type