Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-362

Provide json helper for Binary and Code types

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.3
    • 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

            Assignee:
            ross@mongodb.com Ross Lawley
            Reporter:
            dcrosta Daniel Crosta
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: