title: Parsing a JSON string in Ruby
body: <p>I have a string that I want to parse in Ruby:</p>
  
  <pre><code>string = '{"desc":{"someKey":"someValue","anotherKey":"value"},"main_item":{"stats":{"a":8,"b":12,"c":10}}}'
  </code></pre>
  
  <p>Is there an easy way to extract the data?</p>