Changes between Version 79 and Version 80 of pyson


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

--

Legend:

Unmodified
Added
Removed
Modified
  • pyson

    v79 v80  
    169169{{{ deserialize(self, data:object, clas: object)}}}. It takes the json object and the expected class, and then returns  the deserialized object.
    170170
     171The @JsonDeserialize annotation is not inherited by subclasses.
     172
    171173=== {{{@JsonSerialize}}}
    172174This annotation allows a custom hand-coded serializer to be used. The argument is a full.class.path of the class implementing Serializer.
     
    181183{{{@JsonSerialize}}} and {{{@JsonDeserialize}}} will usually come in pairs, as a custom serialization will need a custom deserialization.
    182184
     185The @JsonSerialize annotation is not inherited by subclasses.
    183186
    184187