apatrida
10/01/2015, 4:34 PMJsonCreator
, or a JsonCreator
but no JsonProperty
annotations. We fill in the gaps by implying a JsonCreator
if one isn't in use, and then letting jackson know the parameter names for the constructor so it can decide to map to them. Inheritance doesn't come into play at all. That is normal Jackson behavior.
heirarchy doesn't matter unless it is polymorphic, then you need @JsonSubTypes
type annotations https://github.com/FasterXML/jackson-annotations/wiki/Jackson-Annotations