阅读背景:

Jackson:为Map数据结构注册自定义XML序列化程序

来源:互联网 

Jackson jax-rs content providers are used in our jax-rs based REST API project, to handle json and xml content type. In response POJO, we have map structure and our requirement is to serialize this map structure as a List in XML and as a Map in JSON format. (The map keys contain whitespaces and hence its not possible to convert these keys as XML element names). In order to achieve this we have implemented a custom serializer for XML...Jackson jax-rs content providers are used in ou




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: