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 and generic type reference

I want to use jackson json library for a generic method as follows: public MyRequest<T> tester() { TypeReference&…

java json generics jackson
Should I declare Jackson's ObjectMapper as a static field?

The Jackson library's ObjectMapper class seems to be thread safe. Does this mean that I should declare my ObjectMapper as …

java json jackson
Convert Java Object to JsonNode in Jackson

Is it possible to directly convert a Java Object to an JsonNode-Object? The only way I found to solve this …

java json jackson
Parsing JSON in Java without knowing JSON format

I am trying to parse JSON strings in Java and find the key-value pairs so that I can determine the …

java json parsing jackson
How to serialize Joda DateTime with Jackson JSON processor?

How do I get Jackson to serialize my Joda DateTime object according to a simple pattern (like "dd-MM-yyyy")? I've tried: @…

java json jodatime jackson
Required request body content is missing: org.springframework.web.method.HandlerMethod$HandlerMethodParameter

Error to Pass JSON data from JSP to controller in ResponseBody. 07:13:53.919 DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver …

java ajax json jackson spring-4
How do I disable fail_on_empty_beans in Jackson?

Using jackson 2.1, how do I disable the fail_on_empty beans that the error message seems to want me to …

java jackson
How to convert JSON string into List of Java object?

This is my JSON Array :- [ { "firstName" : "abc", "lastName" : "xyz" }, { "firstName" : "pqr", "lastName" : "str" } ] I have this in my String …

java json jackson jackson-databind
How to specify jackson to only use fields - preferably globally

Default jackon behaviour seems to use both properties (getters and setters) and fields to serialize and deserialize to json. I …

java json jackson
No Creators, like default construct, exist): cannot deserialize from Object value (no delegate- or property-based Creator

I am trying to consume an API using Retrofit and Jackson to deserialize. I am getting the onFailure error No …

android kotlin jackson retrofit2