Back to Pydantic

Conversion Table

docs/concepts/conversion_table.md

2.13.4481 B
Original Source

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.

=== "All" {{ conversion_table_all }}

=== "JSON" {{ conversion_table_json }}

=== "JSON - Strict" {{ conversion_table_json_strict }}

=== "Python" {{ conversion_table_python }}

=== "Python - Strict" {{ conversion_table_python_strict }}