Jun 12, 2019 — How can I define classes with @dataclass_json to ignore unknown properties in nested schemas by default? from dataclasses import dataclass ...
dataclasses-json-nested
Glandos dataclasses-json: Easily serialize Data Classes to and from JSON. ... It's recursive (see caveats below), so you can easily work with nested dataclasses.. So, you can declare deeply nested JSON "objects" with specific attribute names, types and validations. All that, arbitrarily nested. Define a submodel¶. For example .... Easily serialize dataclasses to and from JSON. ... It's recursive (see caveats below), so you can easily work with nested dataclasses. In addition to the supported ... 939c2ea5af
Comments