title: Parse Error: "Trailing Garbage" while trying to parse JSON column in data frame
body: <p>I have a log file that look like <a href="http://pastebin.com/raw/MMPMwNZv" rel="nofollow noreferrer">this</a>. This is a text document that looks like:</p>
  <pre><code>Id,Date,Level,Message
  35054,2016-06-17 19:29:43 +0000,INFO,&quot;{
    &quot;&quot;id&quot;&quot;: -2,
    &quot;&quot;ipAddress&quot;&quot;: &quot;&quot;100.100.100.100&quot;&quot;,
    &quot;&quot;howYouHearAboutUs&quot;&quot;: null,
    &quot;&quot;isInterestedInOffer&quot;&quot;: true,
    &quot;&quot;incomeRange&quot;&quot;: 60000,
    &quot;&quot;isEmailConfirmed&quot;&quot;: false
  }&quot;
  35055,2016-06-17 19:36:38 +0000,INFO,&quot;{
    &quot;&quot;id&quot;&quot;: -1,
    &quot;&quot;firstName&quot;&quot;: &quot;&quot;John&quot;&quot;,
    &quot;&quot;lastName&quot;&quot;: &quot;&quot;Smith&quot;&quot;,
    &quot;&quot;email&quot;&quot;: &quot;&quot;john.smith@gmail.com&quot;&quot;,
    &quot;&quot;city&quot;&quot;: &quot;&quot;Smalltown&quot;&quot;,
    &quot;&quot;incomeRange&quot;&quot;: 1,
    &quot;&quot;birthDate&quot;&quot;: &quot;&quot;1999-12-10T05:00:00Z&quot;&quot;,
    &quot;&quot;password&quot;&quot;: &quot;&quot;*********&quot;&quot;,
    &quot;&quot;agreeToTermsOfUse&quot;&quot;: true,
    &quot;&quot;howYouHearAboutUs&quot;&quot;: &quot;&quot;Radio&quot;&quot;,
    &quot;&quot;isInterestedInOffer&quot;&quot;: false
  }&quot;
  35059,2016-07-19 19:52:08 +0000,INFO,&quot;{
    &quot;&quot;id&quot;&quot;: -3,
    &quot;&quot;visitUrl&quot;&quot;: &quot;&quot;https://www.website.com/?purpose=X&quot;&quot;,
    &quot;&quot;ipAddress&quot;&quot;: &quot;&quot;100.200.300.400&quot;&quot;,
    &quot;&quot;howYouHearAboutUs&quot;&quot;: null,
    &quot;&quot;isInterestedInOffer&quot;&quot;: true,
    &quot;&quot;incomeRange&quot;&quot;: 100000,
    &quot;&quot;isEmailConfirmed&quot;&quot;: true,
    &quot;&quot;isIdentityConfirmed&quot;&quot;: false,
    &quot;&quot;agreeToTermsOfUse&quot;&quot;: true,
    &quot;&quot;validationResults&quot;&quot;: null
  }&quot;
  </code></pre>
  <p>I'm trying to parse the JSON in the <code>Message</code> column by:</p>
  <pre><code>library(readr)
  library(jsonlite)
  
  df &lt;- read_csv(&quot;log_file_from_above.csv&quot;)
  fromJSON(as.character(df$Message))
  </code></pre>
  <p>But, I'm hitting the following error:</p>
  <pre><code>Error: parse error: trailing garbage
            &quot;isEmailConfirmed&quot;: false  } {    &quot;id&quot;: -1,    &quot;firstName&quot;: 
                       (right here) ------^
  </code></pre>
  <p>How can I get rid of the &quot;trailing garbage&quot;?</p>