-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
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