Changes between Version 48 and Version 49 of pyson


Ignore:
Timestamp:
06/15/21 15:49:11 (4 years ago)
Author:
wouter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pyson

    v48 v49  
    111111
    112112At this moment WRAPPER_OBJECT should be used; the others are not properly implemented.
     113
     114==={{{@JsonDeserialize}}}}
     115This annotation allows a custom hand-coded deserializer to be used. The argument is a full.class.path of a class implementing Deserializer.
     116For example, {{{@JsonDeserialize("geniusweb.issuevalue.ValueDeserializer.ValueDeserializer")}}}
     117
     118The Deserializer requires one implemented method:
     119{{{ deserialize(self, data:object, clas: object)}}}. It takes the json object and the expected class, and then returns  the deserialized object.
     120
    113121
    114122=== Inheritance of annotations