mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-05 23:00:18 +00:00
b42fae081c
* add nested json encoding * fix timezones * add changes doc * split tests and rename example * Update changes/3941-lilyminium.md Co-authored-by: Samuel Colvin <samcolvin@gmail.com> * split tests into functions Co-authored-by: Samuel Colvin <samcolvin@gmail.com> Co-authored-by: Samuel Colvin <s@muelcolvin.com>
144 B
144 B
add use_nested_encoders keyword argument to BaseModel.json to allow encoding nested subclasses with encoders specified in the inner classes