I need help with jackson-dataformat-xml. I need to serialize List<String> using XmlMapper into the xml with encoding the quotes " → ".
But after serializing XmlMapper encodes all other special symbols (<, >, & etc) but ignores quotes (' and ") at all... If I encode the string manually before serialization, the content messes up because " has '&' inside and it's serializing as &quot; instead of course.
Maybe anyone knows how to make it work?
Also, is there a way as work-around to disable auto special symbols encoding on the List<String> field using @JacksonRawValue or something like that? This annotation works great on simple (non-arrays) fields but not gonna work properly on List<String>.
Thanks.