Top "Jackson-databind" questions

Use this tag for questions related to jackson-databind library providing the data-binding functionality and tree-model for Jackson.

Catching & Handling Jackson Exceptions with a custom message

I'm hoping to to catch some jackson exceptions that are occurring in a spring-boot API I am developing. For example, …

java spring-boot exception-handling jackson jackson-databind
Lombok builder pattern with jackson JsonProperty

I have constructed a Java Object using lombok with builder pattern. But, I am getting the following exception when trying …

java jackson pojo lombok jackson-databind
Unexpected token (END_OBJECT), expected FIELD_NAME: missing property '@type'

I am getting below exception during deserialization , the guest profile is a nested object within the Root object (few levels …

jackson jackson-modules jackson2 jackson-databind
How to provide a custom deserializer with Jackson and Spring Boot

I have the following three applications: Project 1 holds Business logic (Spring Cloud Function) An interface IDemoEntity Project 2 AWS-specific handler One …

java spring-boot jackson-databind
ObjectMapper - Best practice for thread-safety and performance

Summary I want to find the best practice for using ObjectMapper and/or ObjectReader in terms of thread-safety and performance …

java json performance thread-safety jackson-databind
How can I get a Jackson mixin to work with private fields?

I was experimenting with Jackson 2.0 mixins to serialize a class with no annotations. Simplified source code below. Note that I'm …

java jackson annotations mixins jackson-databind
Parsing Yaml in Java

I have the following YAML I want to parse using Jackson parser in Java. android: "7.0": - nexus - S8 "6.0": - …

java jackson yaml jackson-databind
Jackson error: Cannot deserialize instance of `java.lang.String` out of START_ARRAY token

Hey I have also problem here is my Json [ { "aimid": "12345" }, { "aimid": "333674" }, { "aimid": [ "4568999", "6789345" ] }] and This is my Pojo class:- @JsonProperty("…

java spring-boot pojo jackson-databind jackson2
No serializer found for class using Json

I have a basic SpringBoot 2.1.2.RELEASE app. Using Spring Initializer, JPA, embedded Tomcat, Thymeleaf template engine, and package as an …

json rest spring-boot jackson jackson-databind