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

Not sure if there is a solution for this but from what I see there is no way to get the exact field name causing a `MismatchedInputException` at the moment....

**Describe the bug** `DeserializationFeature.ACCEPT_FLOAT_AS_INT` does not work when floating point value is in a JSON string. **Version information** 2.13.2 **To Reproduce** ``` import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.JsonMappingException; import com.fasterxml.jackson.databind.ObjectMapper;...

to-evaluate

We migrated to Micronaut 3.3.3 from 2.x recently and since Micronaut 3.0 there is a [breaking change](https://docs.micronaut.io/3.0.0/guide/#breaks) in Annotation Inheritance. Due to this the Jackson annotations that are not annotated...

**Describe the bug** Serialization of Guava optional with polymorphic inner class is not including ```@class``` as specified by ```@JsonTypeInfo``` It works correctly on Jackson 2.6.5, but stopped working at some...

has-failing-test

**Describe the bug** I want to create custom BeanDeserializer, but in my case i need create new instance from source: ` ValidatingBeanDeserializer(BeanDeserializerBase src) { super(src); } ` Field _externalTypeIdHandler is...

**Describe the bug** When setting a custom deserializer for a property using BeanDeserializerBuilder.addOrReplaceProperty that customer deserializer is not applied when the POJO has a constructor method. After some debugging, it...

need-test-case

If an object property is serialized/deserialized with accessor methods and annotated with `@JsonMerge`, the setter is never called, because the "newValue" is always the same object as the "oldValue" in...

``` @JsonPropertyOrder({"a", "b"}) @JsonFormat(shape = JsonFormat.Shape.ARRAY, with = Feature.ADJUST_DATES_TO_CONTEXT_TIME_ZONE) public class MyDTO { private final String a; @JsonInclude(Include.NON_NULL) private final String b; } ``` When serialising the above class when...

Tested versions: 2.9.0.pr3, 2.8.8 and 2.0.1 Expected behavior: Jackson respects `@JsonDeserialize(contentUsing=...)` even if the content's type is determined via `@JsonTypeInfo`. Actual behavior: `@JsonDeserialize(contentUsing=...)` is ignored. The following example demonstrates the...

has-failing-test

**Describe the bug** Our use case involves the following: We are calling a web service that returns a JSON response that is a composite object. The object has a member...

has-failing-test
polymorphic-deduction