title: Converting JSON data into data.frame
body: <p>How can I convert this  kind of JSON data to data.frame:</p>
  
  <pre><code>library("rjson")
  fromJSON("[{'id': 18, 'name': 'Drama'}, {'id': 28, 'name': 'Action'}, {'id': 10749, 'name': 'Romance'}]")
  </code></pre>
  
  <blockquote>
    <p>Error in fromJSON("[{'id': 18, 'name': 'Drama'}, {'id': 28, 'name': 'Action'}, {'id': 10749, 'name': 'Romance'}]") : 
      unexpected character "'"; expecting opening string quote (") for key value
    when I used fromJSON() I got this:unexpected character "'"; expecting opening string quote (") for key value</p>
  </blockquote>