title: JSON not loading to pandas, JSONDecodeError: Expecting value
body: <p>So I have a set of JSON objects, that I need to transform into CSVs.</p>
  <p>the data looks like this, same across all files:</p>
  <pre class="lang-json prettyprint-override"><code>{&quot;data&quot;:
     [{ &quot;id&quot;: &quot;1234&quot;,
        &quot;names&quot;: [
            &quot;john&quot;,
            &quot;bill&quot;,
            &quot;ted&quot;
            ],
        &quot;active&quot;: {
            &quot;john&quot;: &quot;no&quot;,
            &quot;bill&quot;: &quot;yes&quot;,
            &quot;ted&quot; : &quot;yes&quot;
            }
      }]
  }
  </code></pre>
  <pre class="lang-py prettyprint-override"><code>import pandas as pd
  
  df = pd.read_json(r'path\to\json.json', orient=&quot;split&quot;)
  df.to_csv(r'path\to\folder.csv')
  </code></pre>
  <p>It worked for the first one. When I tried to run it on the other folders in the file, it gave me a <code>JSONDecodeError: Expecting value</code>, but they are all literally exactly the same.</p>