title: Convert JSON String to JSON Array in rails?
body: <p>I have a JSON string in rails  as shown below: </p>
  
  <pre><code>[{"content":"1D","createdTime":"09-06-2011 00:59"},{"content":"2D","createdtime":"09-06-2011 08:00"}]
  </code></pre>
  
  <p>which are the objects of a class content with attributes content and created time.</p>
  
  <p>I would like to <strong>convert this JSON string to its respective JSON object array</strong> so that I can run a loop and decode the JSON to its objects in rails. How can I achieve this?</p>