Changes between Version 19 and Version 20 of pyson


Ignore:
Timestamp:
05/11/21 13:19:29 (4 years ago)
Author:
wouter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pyson

    v19 v20  
    1818
    1919The 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
     22The basic mechanism for pyson is to look at the __init__ function of the class under serialization.
     23The arguments in the __init__ function are matched to the json fields.
     24The arguments in the __init__ must be fully typed, and these types are used to determine how to interpret the json content.
     25
     26
    2027
    2128== Examples