title: Recommended JSON parser in C?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/6673936/best-way-to-parse-json-in-c">Best Way To Parse JSON in C?</a>  </p>
  </blockquote>
  
  
  
  <p>I need to parse, validate and query JSON data in a C application, and I am looking for recommendations for the best C JSON library.</p>
  
  <p>The data will be input as strings (char* UTF-8 data), which I first need to validate to ensure the input is valid JSON, and then I will need to perform some simple queries (iterating over the data).</p>
  
  <p>I do not need to produce JSON, I only need to consume it. I also would prefer a parser that will load the whole document into memory rather than a SAX-style parser.</p>
  
  <p>Can anyone recommend a good library, or does anyone have any experience or had problems with libraries?</p>
  
  <p>I have seen the list of libraries in C on JSON.org - are there any good libraries missing from this list?</p>
  
  <p>My requirements are for a small library with as little code / runtime size as possible, and a permissive BSD/MIT style license, since my library will be embedded in other applications.</p>
  
  <p>Thanks,</p>
  
  <p>Marc</p>