Hi folks,

I have two auto-generated classes as follows:


public class DataMonitoringClauseType extends ClauseType {}
public class ClauseType {}

As the classes are autogenerated I cannot define additional annotations 
like JsonSubType for them.

I have a third object with a list of ClauseTypes as follows:


public class RootClass {
    List<ClauseType> clauses;}


Given a serialized RootClass, is there a way to deserialize the RootClass 
instance such that I would have DataMonitoringClauseType instances inside 
the clauses list?

The question is also available on Stackoverflow: 
https://stackoverflow.com/questions/50345996/deserializing-derived-classes-with-jackson

Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"jackson-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to