Reading json files in C++

前端 未结 7 2087
梦如初夏
梦如初夏 2021-02-01 03:17

I\'m trying to read in a JSON file. So far I have focused on using the jsoncpp library. However, the documentation is quite hard to understand for me. Could anyone

7条回答
  •  死守一世寂寞
    2021-02-01 04:14

    Have a look at nlohmann's JSON Repository on GitHub. I have found that it is the most convenient way to work with JSON.

    It is designed to behave just like an STL container, which makes its usage very intuitive.

提交回复
热议问题