title: Error in fromJSON("employee.json") : not all data was parsed (0 chars were parsed out of a total of 13 chars)
body: <p>I was trying to read the JSON file from my r studio as a purpose of learning how to read JSON file, but suddenly i got an parsing error.</p>
  <hr />
  <h3>employee.json</h3>
  <pre><code>{   
     &quot;id&quot; : [&quot;1&quot;,&quot;2&quot;,&quot;3&quot;,&quot;4&quot;,&quot;5&quot;,&quot;6&quot;,&quot;7&quot;,&quot;8&quot; ],  
     &quot;name&quot; : [&quot;Shubham&quot;,&quot;Nishka&quot;,&quot;Gunjan&quot;,&quot;Sumit&quot;,&quot;Arpita&quot;,&quot;Vaishali&quot;,&quot;Anisha&quot;,&quot;Ginni&quot; ],  
     &quot;salary&quot; : [&quot;623&quot;,&quot;552&quot;,&quot;669&quot;,&quot;825&quot;,&quot;762&quot;,&quot;882&quot;,&quot;783&quot;,&quot;964&quot;],  
     &quot;start_date&quot; : [ &quot;1/1/2012&quot;,&quot;9/15/2013&quot;,&quot;11/23/2013&quot;,&quot;5/11/2014&quot;,&quot;3/27/2015&quot;,&quot;5/21/2013&quot;,&quot;7/30/2013&quot;,&quot;6/17/2014&quot;],  
     &quot;dept&quot; : [ &quot;IT&quot;,&quot;Operations&quot;,&quot;Finance&quot;,&quot;HR&quot;,&quot;Finance&quot;,&quot;IT&quot;,&quot;Operations&quot;,&quot;Finance&quot;]  
  }  
  </code></pre>
  <h3>.R file</h3>
  <pre><code>library(rjson)
  emp = fromJSON(&quot;employee.json&quot;)
  e = as.data.frame(emp)
  print(e)
  </code></pre>