Update MapDeserializer
to support StreamReadCapability.DUPLICATE_PROPERTIES
#3484
Milestone
MapDeserializer
to support StreamReadCapability.DUPLICATE_PROPERTIES
#3484
(note: needed to resolve FasterXML/jackson-dataformat-xml#498)
With Jackson 2.12 a system of
StreamReadCapability
options was introduced; one beingDUPLICATE_PROPERTIES
.This capability is true for content formats like XML where underlying content may be exposed in a way that can produce seeming "duplicate" properties (in case of XML, a sequence of elements with same name).
These are, in turn, handled by coercing sequences of duplicates into implicit arrays.
Unfortunately duplicate coercion is only implemented for "untyped" values (nominal type of
Object.class
), byUntypedObjectDeserializer
, and forJsonNode
.But it is not implemented yet for
MapDeserializer
. It should be.The text was updated successfully, but these errors were encountered: