Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
2 votes
0 answers
484 views

Jackson 2.8.9 @JsonPropertyOrder does not arrange field that is generated by @JsonTypeInfo when serializing XML

I am trying to serialize and deserialize XML in the following format: <home> <handle>300023</handle> <command>login</command> <content> <...
lok77chan's user avatar
0 votes
0 answers
74 views

How it is possible to parse XML with unsorted elements?

How it is possible to parse XML with unsorted elements (see xml structure image) into a following JavaBean using Jackson? The problem is that the current implementation is only capable of parsing the ...
sereGkaluv's user avatar
4 votes
1 answer
1k views

How to handle namespaced duplicate xml tags with Jackson

Is it possible using Jackson, to handle duplicate xml tags based off of their namespace? The code below throws a JsonMappingException : Multiple fields representing property "url" private final ...
Adam Brown's user avatar
60 votes
5 answers
124k views

How to map JSON field names to different object field names?

What is the equiv way in Jackson json annotation for the following jax-b annotations? I need to produce json rather than xml and need to know the conventional jackson annotations that is equivalently ...
Blessed Geek's user avatar
  • 21.7k