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

Pymong json_util documentation needs update concerning binaries

    XMLWordPrintable

    Details

      Description

      In the docs for json_util (http://api.mongodb.org/python/1.7/api/pymongo/json_util.html) it states "Currently this does not handle special encoding and decoding for Binary and Code instances." but json_util does indeed serialize and deserialize several binary types quite nicely.

      For example, UUID objects get serialized into a something like this "

      { $UUID : myUUIDhexhere }

      ". It would be great if there was a reference for all serializable binary types along with their corresponding json_util output format.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: