Changes between Version 30 and Version 31 of pyson
- Timestamp:
- 05/18/21 11:20:25 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
pyson
v30 v31 25 25 The arguments in the {{{__init__}}} function are matched to the json fields. 26 26 The arguments in the {{{__init__}}} must be fully typed, and these types are used to determine how to interpret the json content. 27 28 You can use {{{typing.Any}}} to indicate you expect any PRIMITIVE type (int, str, dict, etc). 29 For security reasons, pyson always requires explicit class for polymorphism and never deserializes just any class, only primitives can be handled this way. 27 30 28 31 === Deserialization