Skip to content

JSOG usage of @JsonTypeInfo and @JsonIdentityInfo(generator=JSOGGenerator.class) implies failure for deserialization #669

@ericali78

Description

@ericali78

First happy new year to everybody !
Deserialization seems to work with JSOGGenerator. However when adding @JsonTypeInfo (need this in a model object that have superclass), it does not succeed to.

Sample to reproduce in JSOGTest.java :

@JsonIdentityInfo(generator=JSOGGenerator.class)
@JsonTypeInfo(use=JsonTypeInfo.Id.CLASS, include=JsonTypeInfo.As.PROPERTY, property="@Class")
public static class Inner {
public String bar;
}
In a more global way, the @Class attribute does not seem to be handle or lead to a conflict with @ref management.
Does somebody succed to handle that ? thank you .
Sorry if double post in JSOG jackson plugin is too much (dunno wich is the best place to put/solve)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions