从Json生成Gson可用的Java文件
其实是使用一个开源库, jsonschema2pojo ,地址https://github.com/joelittlejohn/jsonschema2pojo网盘下载http://pan.baidu.com/s/1hqkhxfm然后执行下面命令就ok了~ (test是目标文件夹)jsonschema2pojo --source C:\Users\Administrator\
·
其实是使用一个开源库, jsonschema2pojo ,地址https://github.com/joelittlejohn/jsonschema2pojo
网盘下载http://pan.baidu.com/s/1hqkhxfm
然后执行下面命令就ok了~ (test是目标文件夹)
jsonschema2pojo -T JSON -a GSON -E -S --source C:\Users\Administrator\Desktop\test.json --target C:\Users\Administrator\Desktop\test
更多推荐
已为社区贡献4条内容
所有评论(0)