Changes between Version 26 and Version 27 of pyson


Ignore:
Timestamp:
05/14/21 14:36:41 (4 years ago)
Author:
wouter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pyson

    v26 v27  
    1919WARNING: there exists another other python library named "pyson", which is an entirely different project.
    2020
    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.
     21The 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.
    2222
    2323== Basic Mechanism
     
    124124However json requires strings as keys.
    125125
    126 And an example using @JsonGetter
     126And an example using {{{@JsonGetter}}}
    127127{{{
    128128from pyson.ObjectMapper import ObjectMapper