I ran into the error of import JSON file into MongoDB Compass. I have tried to Import JSON file option and Insert document option (Manually copy and paste JSON)
Edit:
I believe this original JSON file was created using 3T Studio.
{
"_id" : ObjectId("62fb3f9709546017821091d4"),
"budget" : NumberInt(237000000),
"popularity" : 150.437577,
"revenue" : NumberLong(2787965087),
"runtime" : NumberInt(162),
"title" : "Avatar",
"vote_count" : NumberInt(11800),
"rating" : 7.2,
"date" : "10 12 2009",
"companies" : [
{
"name" : "Ingenious Film Partners",
"id" : NumberInt(289)
},
{
"name" : "Twentieth Century Fox Film Corporation",
"id" : NumberInt(306)
},
{
"name" : "Dune Entertainment",
"id" : NumberInt(444)
},
{
"name" : "Lightstorm Entertainment",
"id" : NumberInt(574)
}
]
},