-
Type: Improvement
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
We currently let python's json module handle encoding all integers, and Int64 inherits from int or long depending on python version. json_util.default should convert Int64 to mongo extended json $numberLong. See:
https://docs.mongodb.org/v3.0/reference/mongodb-extended-json/#data_numberlong
- is depended on by
-
PYTHON-1111 New codec options for json_util.dumps and loads
- Closed