Extension for Jackson JSON processor that adds support for serializing POJOs as XML (and deserializing from XML) as an alternative to JSON
561
stars
221
forks
source link
Support `StreamWriteConstraints` limits #602
Closed
pjfanning closed 12 months ago
relates to https://github.com/FasterXML/jackson-core/pull/1055
For deserialization, we rely on Woodstox (or other XML Stream Parser impl) to police the max depth. See https://github.com/FasterXML/jackson-dataformat-xml#usage for how you can configure Woodstox parser (and set the P_MAX_ELEMENT_DEPTH - default 1000).
Woodstox does not appear to support such a feature for XML writing so jackson-dataformat-xml needs it own code.