title: Mongo db import single json file having several documents
body: <p>Am new to mongo db. I have a single json file which contains several documents.</p>
  
  <p>When i try to upload the file through mongoimport, the file is considered as a single document to be created where as there are several documents to be created through the same file.</p>
  
  <p>Below is import command.</p>
  
  <pre><code>mongoimport --db mydb --collection testData --type json --file var/www/html/orders.json --jsonArray
  </code></pre>
  
  <p>Running this command throws the following error:</p>
  
  <pre><code>exception:JSONArray file too large
  </code></pre>