title: What is the difference between YAML and JSON?
body: <p>What are the differences between YAML and JSON, specifically considering the following things?</p>
  <ul>
  <li>Performance (encode/decode time)</li>
  <li>Memory consumption</li>
  <li>Expression clarity</li>
  <li>Library availability, ease of use (I prefer C)</li>
  </ul>
  <p>I was planning to use one of these two in our embedded system to store configure files.</p>
  <h3>Related:</h3>
  <p><a href="https://stackoverflow.com/questions/1876735/">Should I use YAML or JSON to store my Perl data?</a></p>