For AI agents: a documentation index is available at https://www.mongodb.com/docs/llms.txt — markdown versions of all pages are available by appending .md to any URL path.
See how MongoDB 9.0 delivers up to 2x higher throughput.
MongoDB Branding Shape
Register now >
Docs Menu

Specialized Data Formats

You can use several types of specialized data formats in your PyMongo application. To learn how to work with these data formats, see the following sections:

  • Learn how to work with BSON documents in the BSON guide.

  • Learn how to translate BSON to Extended JSON in the Extended JSON guide.

  • Learn how to encode and decode custom types in the Custom Types section.

  • Learn how to work with Python datetime objects in PyMongo in the Dates and Times guide.

  • Learn about UUIDs and how to maintain cross-language compatibility while working with them in the Universally Unique IDs (UUIDs) guide.

Rate this page

On this page