title: R create JSON in R
body: <p>I want to get to get the values from this JSON string: <code>{ "item": [ {  "value": 142 } , { "value": 200 } ] }</code> </p>
  
  <p>R code:</p>
  
  <pre><code>library(rjson)
  item &lt;- list(item=c(value= 142,value=200))
  toJSON(item)
  </code></pre>
  
  <p>And I have:</p>
  
  <pre><code>&gt; toJSON(item)
  [1] "{\"item\":{\"value\":142,\"value\":200}}"
  </code></pre>
  
  <p>How do I get the values from the json string in R?</p>