tags:

views:

162

answers:

2

HI,

Can someone please suggest what is the popular JSON c++ library? I find a list here http://www.json.org/, but I don't know which one is popular?

Thank you.

+2  A: 

Have a look at the JsonCpp library.

Gregory Pakosz
A: 

I have no clue, but here is how I would go about discovering it (without simply taking the recommendations of strangers):

  1. Google for each of them in turn, note the number of results, and more importantly, the quality of results ("how to" blog postings have higher quality than questions, for example).
  2. Go to the websites for each, look at the bug tracker (assuming there is one), and pick the one with the most responsive developers.
  3. Try out the top two or three, and decide which fits best with your programming style.

That last is probably the most important. For something as simple as a JSON library, it should take no more than an hour or two to write sample programs and decide.

kdgregory
What is the popular Google tutorial? Oh, wait...
Zack Mulgrew
The OP had enough initiative to go to json.org, but the number of choices are quite large; I just don't think it's a good idea to make your decision based on strangers' recommendations
kdgregory