New user to mongo and wanted to run queries against the json files we use on our project. I attempted to use the mongoimport tool and cannot successfully import any json file even a simple 3 parameter file.{"AGING": 1,"AIRPLANE_MIGRATION": 0,"ANIMAL_RESERVOIR": 0}I'm on 64 bit windows 7.The first error I see isThu Aug 30 13:29:25 Assertion: 10340:Failure parsing JSON string near:Thu Aug 30 13:29:25 mongoimport.exe ???Thu Aug 30 13:29:25 mongoimport.exe ???Thu Aug 30 13:29:25 mongoimport.exe ???Thu Aug 30 13:29:25 mongoimport.exe ???Thu Aug 30 13:29:25 mongoimport.exe ???Thu Aug 30 13:29:25 mongoimport.exe ???Thu Aug 30 13:29:25 mongoimport.exe ???Thu Aug 30 13:29:25 mongoimport.exe ???Thu Aug 30 13:29:25 kernel32.dll BaseThreadInitThunk+0xdThu Aug 30 13:29:25 exception:BSON representation of supplied JSON is too large: Failure parsing JSON string near:This error then repeats for each parameter indicating a parser JSON string near: "parameter name"Using the following cmd line syntaxd:\mongodb\bin\mongoimport.exe -d test -c testDTK d:\mongodb\jsons\glossary.json
--
You received this message because you are subscribed to the Google
Groups "mongodb-user" group.
To post to this group, send email to mongod...@googlegroups.com
To unsubscribe from this group, send email to
mongodb-user...@googlegroups.com
See also the IRC channel -- freenode.net#mongodb