title: Is this JSON valid? I'm getting an end of file expected error in VScode
body: <p>Here is the JSON output/ The error gets flagged on the 2nd opening parenthesis.</p>
  <pre><code>{
      &quot;Year&quot;: &quot;1955&quot;,
      &quot;Rank&quot;: &quot;1&quot;,
      &quot;Company&quot;: &quot;General Motors&quot;,
      &quot;Revenue (in millions)&quot;: &quot;9823.5&quot;,
      &quot;Profit (in millions)&quot;: &quot;806&quot;
  }{
      &quot;Year&quot;: &quot;1955&quot;,
      &quot;Rank&quot;: &quot;2&quot;,
      &quot;Company&quot;: &quot;Exxon Mobil&quot;,
      &quot;Revenue (in millions)&quot;: &quot;5661.4&quot;,
      &quot;Profit (in millions)&quot;: &quot;584.8&quot;
  }{
      &quot;Year&quot;: &quot;1955&quot;,
      &quot;Rank&quot;: &quot;3&quot;,
      &quot;Company&quot;: &quot;U.S. Steel&quot;,
      &quot;Revenue (in millions)&quot;: &quot;3250.4&quot;,
      &quot;Profit (in millions)&quot;: &quot;195.4&quot;
  }{
      &quot;Year&quot;: &quot;1955&quot;,
      &quot;Rank&quot;: &quot;4&quot;,
      &quot;Company&quot;: &quot;General Electric&quot;,
      &quot;Revenue (in millions)&quot;: &quot;2959.1&quot;,
      &quot;Profit (in millions)&quot;: &quot;212.6&quot;
  }
  </code></pre>
  <p>Here's the code which generates the file.</p>
  <pre><code>#Json File
      newfile= open(&quot;data2.json&quot;, &quot;w&quot;, newline=&quot;&quot;)
      for rows in parse:
          try:
              (float(rows[&quot;Profit (in millions)&quot;]))#This validates that the value in this column is a number. 
              newfile.write(json.dumps(rows, indent=4))
              
              
              
          except ValueError:
              pass
  </code></pre>
  <p>Please let me know if anything looks off to you.</p>