I don't understand the JSON obsession. JSON as any other file format should be a small detail in any application and require very little plumbing code.<p>In every application, any dependency to JSON should be minimized, contained and preferably eliminated.
How does this compare with RapidJSON, JSONCpp and JSON Spirit - other popular C++ JSON parser libraries?<p>Links:<p><a href="http://rapidjson.org/" rel="nofollow">http://rapidjson.org/</a>
<a href="https://github.com/Tencent/rapidjson" rel="nofollow">https://github.com/Tencent/rapidjson</a><p><a href="https://github.com/open-source-parsers/jsoncpp" rel="nofollow">https://github.com/open-source-parsers/jsoncpp</a><p><a href="https://www.codeproject.com/Articles/20027/JSON-Spirit-A-C-JSON-Parser-Generator-Implemented" rel="nofollow">https://www.codeproject.com/Articles/20027/JSON-Spirit-A-C-J...</a>
My only mild complaint with this particular JSON library is that it's fairly easy to shoot yourself in the foot with the compile times if you don't explicitly ensure that you use the json_fwd.hpp header in your headers.
Kudos on the very thorough readme, complete with CMake instructions, most of the time people take it for granted that you know how to embed libraries and dependencies.<p>Writing documentation, and easing users into your project, is an underrated skill.
This is a solid project and I’m using it in many different projects for years. The developer team is responsive and care about the quality of the project as well as people’s need. I can not recommend it enough.
Note that this library basically requires exceptions to be enabled, which may or may not be the case in your environment.<p>(It is actually possible to use without, but then exceptions become aborts, and you have to dance around that.)
I don't understand those single header libraries. Anyone writing code in c or c++ knows how to link a library.
It's really annoying when writing code for a platform with limited ram.
> In languages such as Python, JSON feels like a first class data type.<p>Is that because the python dictionary happens to looks so much like json, or what do they mean?
I'm wondering what the difference between this and json-cpp <a href="https://github.com/open-source-parsers/jsoncpp" rel="nofollow">https://github.com/open-source-parsers/jsoncpp</a> is. They look like they provide the same functionality, albeit this looks more "modern C++ style"?
I have been using json11 for a few years now (<a href="https://github.com/dropbox/json11" rel="nofollow">https://github.com/dropbox/json11</a>). It looks like it has been abandoned though. This seems like a great alternative.
Its a great library however 99% of its 'wow' moment can now be easily replicated with a few meta checks and can be adapted to basically any 3rd party json system.