Changes between Version 19 and Version 20 of pyson
- Timestamp:
- 05/11/21 13:19:29 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
pyson
v19 v20 18 18 19 19 The basic version determines the types for (de)serialization from the __init__ function in the involved classes. Polymorphism is supported, so derived classes can (de)serialized from a superclass. 20 21 == Basic Mechanism 22 The basic mechanism for pyson is to look at the __init__ function of the class under serialization. 23 The arguments in the __init__ function are matched to the json fields. 24 The arguments in the __init__ must be fully typed, and these types are used to determine how to interpret the json content. 25 26 20 27 21 28 == Examples