I'm trying to convert some Java code that uses Jackson's @JsonSubTypes annotation to manage polymorphism. Here is the working Java code: @JsonTypeInfo( us
I would like to deserialize a YAML file into a Java object using Jackson and jackson-dataformat-yaml. The YAML is company: product: settings: proper
We have a very strange/intermittent issue with kafka and jackson. We have a dto defined which has 4 date field startdate, enddate and a embedded metatdata class
I am trying to map some JSON objects to Java objects with Jackson. Some of the fields in the JSON object are mandatory(which I can mark with @NotNull) and some
I have spark job that is failing after the upgrade of the cdh from 5.5.4 which had spark 1.5.0 to cdh 5.13.0 which has spark 1.6.0 The job is running with the
I'm getting InvalidDefinitionException when trying to use @JsonCreator along with @JsonProperty(value = "version", access = JsonProperty.Access.READ_ONLY) This
I have a user object that is sent to and from the server. When I send out the user object, I don't want to send the hashed password to the client. So, I added @
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
I am trying to make use of an external NYtimes API. Here is an sample example data output : { "status": "OK", "copyright": "Copyright (c) 2016 The New
I have set up spring 4.3.1 with Hibernate 5.1.0 and Jackson 2.7.5 I had some lazy init Exceptions because the Jackson ObjectMapper tries to convert my Objects
I am consuming a rest service where the incoming JSon Response is something like this "thumbnailUrls": { "small": "skinresources/unpackaged/images/defau
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
I have the field initiationDate which serialises by ToStringSerializer class to ISO-8601 format. @JsonSerialize(using = ToStringSerializer.class) private Local
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
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