jackson-databind icon indicating copy to clipboard operation
jackson-databind copied to clipboard

General data-binding package for Jackson (2.x): works on streaming API (core) implementation(s)

Results 208 jackson-databind issues
Sort by recently updated
recently updated
newest added

**Problem (excuses for the long description) - Version: 2.13** I am trying to use the JsonTypeInfo.Id.DEDUCTION method which is described [here](https://cowtowncoder.medium.com/jackson-2-12-most-wanted-1-5-deduction-based-polymorphism-c7fb51db7818) and in a lot of other sources with JSON...

polymorphic-deduction

**Describe the bug** I'm using @JsonTypeInfo(use = Id.DEDUCTION) and have created a scenario where the mapper behaves differently depending on how I order my fields, which I think should be...

polymorphic-deduction

Currently, deduction deserialization requires all values to have unique field. Because of that, there is no way to deserialize values to superclass and subclasses, when `defaultImpl` is different than superclass....

polymorphic-deduction

**Is your feature request related to a problem? Please describe.** I have a request model containing IDs which are numbers (`long`), In order to make them required I need to...

**Describe the bug** I'm serializing and deserializing a generic list. ```java @JsonIdentityInfo(generator = ObjectIdGenerators.StringIdGenerator.class) public static class Foo { } @JsonIdentityInfo(generator = ObjectIdGenerators.StringIdGenerator.class) public static class Bar { } public...

In case of deserialization to Java 16 record is there any way to distinguish between situation when JSON field is set to null and when field is not set at...

Record

A vulnerability (WS-2021-0616) was discovered and it is fixed in versions 2.12.6 and 2.13.1. However, as we were told (https://github.com/spring-projects/spring-boot/issues/29569#issuecomment-1021997847) these versions are incompatible with Spring Boot 2.4.13. Therefore, requesting...

**Describe the bug** When deserializing in immutable objects using `@JsonCreator,` the same json (but with different order of attributes) may succeed or fail. Note: happens when using `@JsonIdentityInfo` and `@JsonIdentityReference(alwaysAsId...

to-evaluate

**Describe the bug** Jackson not able to use same deserialization strategy in records that uses in classes. **Version information** 2.13.1 **To Reproduce** ``` import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.json.JsonMapper; import org.junit.jupiter.api.Test; public...

to-evaluate

**Describe the bug** Deserialization of a specific class becomes broken if another specific class is deserialized before it. All classes are immutable and depend on `@JsonCreator` and property-based constructors with...

has-failing-test