Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
-
6/15 nightly, gentoo
-
ALL
Description
I have a json export file created from mongoimport 1.4.3 which has id's in the string format:
{ "_id": "1234abcd", ... }When I try to import this file, mongoimport 1.5.x will convert all the IDs to ObjectIDs. If I export the imported collection, I get:
{ "_id":
{ "$oid": "1234abcd"}, ...}
The 1.4.x behavior is to keep the id's as strings if the json file's id's are strings.