Changes between Version 80 and Version 81 of pyson


Ignore:
Timestamp:
07/18/24 14:46:50 (4 months ago)
Author:
wouter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pyson

    v80 v81  
    6262 * the parameter names and param-classes from the {{{__init__}}} function of the actual class are taken
    6363 * for each of the parameters, recursively deserialize the json value for that parameter, using the param-class as targetclass.
    64  * call the constructor of the target class, using the parsed json for each parameter. Missing parameters is allowed if the constructor has default values for that parameter.
     64 * call the constructor of the target class, using the parsed json for each parameter. Missing parameters is allowed, they are replaced with None, or ignored if the constructor has default values for that parameter.
    6565
    6666=== Serialization