title: How to import formatted json file to mongodb?
body: <p>I tried to import formatted json file into mongodb. but always it says that can't insert</p>
  
  <pre><code>{
    "marks": [
      {
        "class": {
          "className": "A"
        },
        "subject": "maths",
        "score": 43,
        "grade": "a"
      },
      {
        "class": {
          "className": "B"
        },
        "subject": "maths",
        "score": 34,
        "grade": "c"
      }
    ]
  }
  </code></pre>
  
  <p>what is the reason for this. I used command <code>mongoimport --db sss --collection bbv --file a.json</code> and the error message is </p>
  
  <pre><code>exception:BSON representation of supplied JSON is too large: code FailedToParse: FailedToParse: Expecting '{': offset:0
  </code></pre>