Changes between Version 26 and Version 27 of pyson
- Timestamp:
- 05/14/21 14:36:41 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
pyson
v26 v27 19 19 WARNING: there exists another other python library named "pyson", which is an entirely different project. 20 20 21 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.21 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. 22 22 23 23 == Basic Mechanism … … 124 124 However json requires strings as keys. 125 125 126 And an example using @JsonGetter126 And an example using {{{@JsonGetter}}} 127 127 {{{ 128 128 from pyson.ObjectMapper import ObjectMapper