title: How to import json file to mongo through mac terminal?
body: <p>I'm using this command </p>
  
  <pre><code>mongoimport --db test --collection bankdata --drop --file bank_data.json --port 27017 --host 127.0.0.1
  </code></pre>
  
  <p>to import a json file, but when I do it I get this message </p>
  
  <blockquote>
    <p>Failed: error unmarshaling bytes on document #0: JSON decoder out of sync - data changing underfoot?
    2016-05-24T08:00:31.552-0600    imported 0 documents  </p>
  </blockquote>