Changes between Version 79 and Version 80 of pyson
- Timestamp:
- 07/18/24 14:38:14 (4 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
pyson
v79 v80 169 169 {{{ deserialize(self, data:object, clas: object)}}}. It takes the json object and the expected class, and then returns the deserialized object. 170 170 171 The @JsonDeserialize annotation is not inherited by subclasses. 172 171 173 === {{{@JsonSerialize}}} 172 174 This annotation allows a custom hand-coded serializer to be used. The argument is a full.class.path of the class implementing Serializer. … … 181 183 {{{@JsonSerialize}}} and {{{@JsonDeserialize}}} will usually come in pairs, as a custom serialization will need a custom deserialization. 182 184 185 The @JsonSerialize annotation is not inherited by subclasses. 183 186 184 187