Jackson控制多态的注解--JsonTypeInfo,JsonSubTypes,JsonTypeName

让咱们看Jackson控制多态的注解:html @JsonTypeInfo – indicates details of what type information to include in serialization 指出序列化包含的类型信息细节 @JsonSubTypes – indicates sub-types of the annotated type 指出被注解类型的子类 @Json
相关文章
相关标签/搜索