Category "jackson"

Map JSON default tag to java variable

I am consuming a rest service where the incoming JSon Response is something like this "thumbnailUrls": { "small": "skinresources/unpackaged/images/defau

How to overcome "Conflicting setter definitions for property "?

I use com.fasterxml.jackson and io.swagger libraries. In my REST endpoint I use org.javamoney.moneta.Money type for a GET query. When deploying the war i get f

LocalDateTime - deserialization with LocalDateTime.parse

I have the field initiationDate which serialises by ToStringSerializer class to ISO-8601 format. @JsonSerialize(using = ToStringSerializer.class) private Local

POJO Json object wrapped in double quotes doesn't deserialize to Java

My application is receiving json objects from some source and these are wrapped as strings. These are not getting deserialized but throw exception like mentione

Get Jackson XMLMapper to read root element name

How do I get Jackson's XMLMapper to read the name of the root xml element when deserializing? I am deserializing input XML to generic Java class, LinkedHashMap