我有几个有效的 JSON 文档,我尝试将它们导入 mongodb。
{ "Books":
[{ "ISBN":"ISBN-0-13-713526-2",
"Price":85,
"Edition":3,
"Title":"A First Course in Database Systems",
"Authors":[ {"First_Name":"Jeffrey", "Last_Name":"Ullman"},
{"First_Name":"Jennifer", "Last_Name":"Widom"} ] }
,
{ "ISBN":"ISBN-0-13-815504-6",
"Price":100,
"Remark":"Buy this book bundled with 'A First Course' - a great deal!",
"Title":"Database Systems:The Complete Book",
"Authors":[ {"First_Name":"Hector", "Last_Name":"Garcia-Molina"},
{"First_Name":"Jeffrey", "Last_Name":"Ullman"},
{"First_Name":"Jennifer", "Last_Name":"Widom"} ] }],
"Magazines":
[{ "Title":"National Geographic",
"Month":"January",
"Year":2009 }
,
{ "Title":"Newsweek",
"Month":"February",
"Year":2009 },
{"Title": "Newsweek"}]
}
我收到以下错误:
Sun Mar 24 15:23:27 异常:提供的 JSON 的 BSON 表示太大:解析 JSON 字符串附近失败:“Month”:“J Sun Mar 24
15:23:27 异常:提供的 JSON 的 BSON 表示太大:解析 JSON 字符串附近失败:“Year”:200 Sun Mar 24 15:28:23
错误:遇到28个错误
有人可以说有什么问题吗?