title: Unexpected end of JSON input in MongoDB Compass
body: <p>I want to import data of type JSON in MongoDB compass,
  the import function gives this error
  &quot; unexpected end of JSON input &quot;</p>
  <p><a href="https://i.stack.imgur.com/kTBmO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kTBmO.png" alt="enter image description here" /></a></p>
  <p>there is a some of my JSON file</p>
  <pre class="lang-json prettyprint-override"><code>[
     {
        &quot;id&quot;:4,
        &quot;user&quot;:&quot;test@example.com&quot;,
        &quot;date1&quot;:&quot;2019-03-01&quot;,
        &quot;date2&quot;:&quot;2019-04-01&quot;,
        &quot;statut&quot;:&quot;Good&quot;,
        &quot;guest_number&quot;:4
     }
  ]
  </code></pre>