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

While the JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY works fine normally, there is an issue when using it along with @JsonTypeInfo and its JsonTypeInfo.As.EXTERNAL_PROPERTY feature (regular PROPERTY works fine). Below is an example test case...

**Is your feature request related to a problem? Please describe.** Currently we cannot use forward references together with a `@JsonCreator`. See the following example: ``` class A1 { public List...

(note: follow-up for #265) Current implementation of `@JsonUnwrapped` deserialization requires handling of all other properties first, and only then reconstructing unwrapped objects. This works ok via fields/setters, but can not...

3.x

Hi, After discussing this matter [on the mailing list](https://groups.google.com/d/topic/jackson-user/rXKO8HZbxBk/discussion), I was redirected to creating an issue to ease some use case of `@JsonUnwrapped`. Basically, my objective is to avoid using...

**Describe the bug** for a java bean contains fields cPhone or cphone, the field cPhone will be ignored **Version information** 2.13.1 **To Reproduce** ``` import com.fasterxml.jackson.databind.ObjectMapper; import lombok.AllArgsConstructor; import lombok.Data;...

need-test-case

(note: cleaved off of #2816, used to be bundled) Current implementation `JsonNodeDeserialization` is expensive for deeply nested Object and Array values as it uses recursion: so for each small additional...

CVE
performance

I can't figure out why the javadocs are saved into the source-tree. I _really_ can't understand why the full record of historic javadocs is stored there. It is about 60x...

good first issue

When something is annotated with `@JacksonInject`, if the `ObjectMapper` doesn't have injectable values set, it will fail with `Caused by: com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No 'injectableValues' configured, cannot inject value with id []`....

**Describe the bug** I am declaring a global ObjectMapper as such: ``` val OBJECT_MAPPER = ObjectMapper() .setPropertyNamingStrategy(PropertyNamingStrategies.SNAKE_CASE) .registerKotlinModule() .registerModule(JavaTimeModule()) .registerModule(ProtobufModule()) .configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false) .setSerializationInclusion(JsonInclude.Include.NON_NULL) .disable(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS) ``` This worked prior to upgrade...

need-test-case

**Describe the bug** When deserializing a float value to a structure nested in JsonUnwrapped and JsonAnySetter, the float value becomes a BigDecimal instead of Double (USE_BIG_DECIMAL_FOR_FLOATS is left to its...