nlohmann json比rapidjson好用

https://github.com/nlohmann/json

在TEST_CLASS(NlohmannJson)测试ok,能很方便的生成和解析json

FileEx::Dump(o.dump(4), "d:/t.json");//dump(4)是pretty格式,indent为4个空格,效果很好!


猜你喜欢

转载自blog.csdn.net/xwpcom/article/details/80613708