For AI agents: a documentation index is available at https://www.mongodb.com/es/docs/llms.txt — markdown versions of all pages are available by appending .md to any URL path.
Make the MongoDB docs better! We value your opinion. Share your feedback for a chance to win $100.
MongoDB Branding Shape
Click here >
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.

On this page