📜  mongoimport 失败:无效的 JSON 输入.位置:74.字符:I - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:37.410000             🧑  作者: Mango

代码示例1
you can use --legacy option of mongoimport in order to import the file
with the format you want with ObjectId("an oid"), NumberInt(an int) or
new Date("an iso date" or any mongo extension available in
extended json v1 : https://docs.mongodb.com/manual/reference/mongodb-extended-json-v1/)