title: Writing multiple JSON objects into one .json file
body: <p>I'm writing a python script to run through a csv file and convert it into one .json file. That would mean the .json file would have multiple json objects inside it. I've got most of the script working but the part I am confused with (and I've looked online for a while now) is how multiple JSON objects should be stored in one .json file. Is it either of the ways below? :</p>
  
  <pre><code>{
      "index": {
          "_index": "jobs", 
          "_id": 119556, 
          "_type": "2014_jobs"
      },
      "index2": {
          "_index": "jobs", 
          "_id": 119700, 
          "_type": "2014_jobs"
      },
      "index3": {
          "_index": "jobs", 
          "_id": 118701, 
          "_type": "2014_jobs"
      },           
  }
  </code></pre>
  
  <p>or</p>
  
  <pre><code>{"index": {"_index": "jobs", "_id": 119556, "_type": "2014_jobs"}}
  {"index2": {"_index": "jobs", "_id": 119700, "_type": "2014_jobs"}}
  {"index3": {"_index": "jobs", "_id": 118701, "_type": "2014_jobs"}}
  </code></pre>