Top "Jackson" questions

Jackson is a Java library for handling tasks like reading and writing (parsing / generating) and data binding to/from Java objects.

Jackson Json and no such method errors

I am trying to use jackson to serialize and deserialize a POJO. Going from POJO to JSON works perfectly but …

java json jackson deserialization
Jackson JSON library: how to instantiate a class that contains abstract fields

I want to convert a JSON string into java object, but the class of this object contains abstract fields, which …

java json jackson deserialization
Custom ObjectMapper with Jersey 2.2 and Jackson 2.1

I am struggling with a REST application with Grizzly, Jersey and Jackson, because Jersey ignores my custom ObjectMapper. POM dependencies: &…

java jersey jackson jax-rs jersey-2.0
JSON: JsonMappingException while try to deserialize object with null values

I try to deserialize object that contains null-properties and have the JsonMappingException. What I do: String actual = "{\"@class\" : \"PersonResponse\"," + " \"id\" : \"…

java json jackson json-deserialization
Custom JSON Deserialization with Jackson

I'm using the Flickr API. When calling the flickr.test.login method, the default JSON result is: { "user": { "id": "21207597@N07", "…

java json jackson flickr
Generate JSON schema from Java class

I have a POJO class: public class Stock { int id; String name; Date date; } Are there any annotations or development …

json jackson jsonschema fasterxml jackson-modules
How can we configure the internal Jackson mapper when using RestTemplate?

I want to update the SerializationConfig.Feature... properties of the jackson mapper used by Spring RestTemplate, Any idea how I …

spring jackson
JSON Post request for boolean field sends false by default

Hi I am sending a JSON Post request using the FireFox RestClient. My JSON Request is as below: { "firstName": "Test", "…

java json spring-mvc jackson pojo
Avoid Jackson serialization on non fetched lazy objects

I have a simple controller that return a User object, this user have a attribute coordinates that have the hibernate …

java spring hibernate serialization jackson
Jackson: What happens if a property is missing?

What happens if I annotate a constructor parameter using @JsonProperty but the Json doesn't specify that property. What value does …

java jackson