Details
-
Improvement
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
Description
the JSON serializer (used in most outputs) writes Number / NumberInt / NumberLong as just a regular number.
The JSON deserializer tries to be smart and either uses a Number or a NumberInt based on how large it is.
The behavior should be equivalent to the shell or mongoexport / import.
At the minimum it should encode NumberLong as
so that it can be round tripped.
Attachments
Issue Links
- related to
-
SERVER-5424 Shell doesn't re-save retrieved integers in an array as integers (converted to 64-bit float)
-
- Backlog
-