Skip to content
You're viewing docs for v2.5. See the latest version →

Conversion table

The following table provides details on how Pydantic converts data during validation in both strict and lax modes.

The “Strict” column contains checkmarks for type conversions that are allowed when validating in Strict Mode.

{{ conversion_table_all }}

{{ conversion_table_json }}

{{ conversion_table_json_strict }}

{{ conversion_table_python }}

{{ conversion_table_python_strict }}