https://github.com/nlohmann/json
在TEST_CLASS(NlohmannJson)测试ok,能很方便的生成和解析json
FileEx::Dump(o.dump(4), "d:/t.json");//dump(4)是pretty格式,indent为4个空格,效果很好!
在https://github.com/nlohmann/json项目中,NlohmannJson的测试已通过。使用dump(4)方法可以方便地生成格式良好的JSON文件,例如将对象转储到D盘的t.json文件中。
https://github.com/nlohmann/json
在TEST_CLASS(NlohmannJson)测试ok,能很方便的生成和解析json
FileEx::Dump(o.dump(4), "d:/t.json");//dump(4)是pretty格式,indent为4个空格,效果很好!
4752

被折叠的 条评论
为什么被折叠?