feature: Use json
mode to dump pydantic v2 models by default
#4111
Labels
enhancement
Enhancement proposals
json
mode to dump pydantic v2 models by default
#4111
Feature request
Hi! I think it will be convenient to dump pydantic v2 models via
model_dump(mode="json")
because in many cases it will allow to omit an implementation of custom json encoders and letpydantic-core
do the job.Motivation
No response
Other
No response
The text was updated successfully, but these errors were encountered: