Re: [jackson-user] The correct way to serialize / deserialize a Map to / from XML

2018-09-28 Thread Tristan Lins
UTC+2 schrieb Tatu Saloranta: > > On Thu, Sep 27, 2018 at 10:29 PM Tristan Lins > wrote: > >> I need to serialize / deserialize a Map to / from XML >> with dataformat-xml / XmlMapper. >> >> It works fine with JSON when using default typing. >> But when des

[jackson-user] The correct way to serialize / deserialize a Map to / from XML

2018-09-27 Thread Tristan Lins
I need to serialize / deserialize a Map to / from XML with dataformat-xml / XmlMapper. It works fine with JSON when using default typing. But when deserialize the XML, the typing of primitive types (especially numeric and boolean) get lost. Every number and boolean is treated as string, when de