Details
-
Improvement
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
None
-
None
-
None
Description
Because Binary and Code extend the built-in str type, the default callback in JSONEncoder cannot be used to change their representation.
Originally reported in: https://github.com/mongodb/mongo-python-driver/pull/52