Changes between Version 64 and Version 65 of pyson


Ignore:
Timestamp:
06/20/23 17:42:02 (17 months ago)
Author:
wouter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pyson

    v64 v65  
    8383
    8484=== {{{@JsonSubTypes}}}
    85 Added to a class definition. Takes a list of strings as argument. Each string is the full class path to another class.
     85Added to a class definition. Takes a list of strings as argument. Each string is the full class path to another class. You need the full class path here, because you can't do an import to make the short name work because then you would introduce a circular dependency.
    8686
    8787Indicates that that other class is a sub-class of the annotated class. The other class can be used for deserialization as well.