We have requirement of C/C++ Parser in my application. What application does is it calls rest webservice and takes output from service. If output is JSON , it should parse it and shows the result to end user.
Could you please recommend me good/best C/CPP JSON parser (according to you) so that I can use in my application?
When I search online, I am getting multiple JSON parsers. But I would like to know about the best.
Thanks in advance
Assuming you're happy with a C++ implementation of the parser, I've not had any issues with nlohmann/json; although there are faster libraries it has been fast enough for my requirements and has the advantages that:
The Github page linked above has a great overview so it's not worth me going into much more detail here.
For a comparison of libraries along multiple facets (not just performance) you could look here: miloyip/nativejson-benchmark
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With