Top "Jackson" questions

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

java.lang.IllegalArgumentException: No converter found for return value of type

With this code @RequestMapping(value = "/bar/foo", method = RequestMethod.GET) public ResponseEntity<foo> foo() { Foo model; ... return ResponseEntity.…

java spring spring-boot jackson
Jackson overcoming underscores in favor of camel-case

I retrieve a JSON string from internet; like most JSON I've seen it includes long keys that are separated by …

java jackson
Spring REST Service: how to configure to remove null objects in json response

I have a spring webservice that returns a json response. I'm using the example given here to create the service: …

java spring jackson
Correct set of dependencies for using Jackson mapper

I am new to Jackson and I was writing some code for practice. I found out the the new version …

java json jackson
Strange Jackson exception being thrown when serializing Hibernate object

Jackson is throwing a weird exception that I don't know how to fix. I'm using Spring, Hibernate and Jackson. I …

java json hibernate spring-mvc jackson
Jackson JSON custom serialization for certain fields

Is there a way using Jackson JSON Processor to do custom field level serialization? For example, I'd like to have …

java json serialization jackson
How to parse a JSON string to an array using Jackson

I have a String with the following value: [ { "key1": "value11", "key2": "value12" }, { "key1": "value21", "key2": "value22" } ] And the following class: …

java json jackson
Deserialize JSON with Jackson into Polymorphic Types - A Complete Example is giving me a compile error

I am attempting to work through a tutorial from Programmer Bruce that is supposed to allow the deserialization of polymorphic …

java json compiler-errors polymorphism jackson
JsonParseException: Unrecognized token 'http': was expecting ('true', 'false' or 'null')

We have the following string which is a valid JSON written to a file on HDFS. { "id":"tag:search.twitter.…

java jackson cloudera
Why when a constructor is annotated with @JsonCreator, its arguments must be annotated with @JsonProperty?

In Jackson, when you annotate a constructor with @JsonCreator, you must annotate its arguments with @JsonProperty. So this constructor public …

java json serialization jackson