-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Tools
-
None
-
Environment:6/15 nightly, gentoo
-
ALL
-
None
-
None
-
None
-
None
-
None
-
None
-
None
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.