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

With #2129 and jackson 2.10.0 a new Feature WRITE_ENUM_KEYS_USING_INDEX was introduced. So we now can write an enum used in a map as key as number/enum index. (This is usefull...

2.14
enum
pr-welcome

(note: follow up for #2660 ) As things are, the only way to change representation of `Enum` values (which defaults to using `Enum.name()`) is to use either "use `toString()`" or...

most-wanted
2.14
enum

1. create java enum like this ``` public enum SomeEnum { none, tax10, tax20 } ``` 2. create mixin for enum ``` public enum SomeEnumMixin { @JsonProperty("zero") none, @JsonProperty("TypTyp") tax10,...

has-failing-test
2.14
enum

**Is your feature request related to a problem? Please describe.** Java enums are usually defined as `UPPER_CASE_WITH_UNDERSCORE`. This is not a standard in endpoints, as these rather use `lower_case_with_underscore`. There...

2.14
enum

**Describe the bug** BeanDeserializerBase::resolve(DeserializationContext ctxt) will replace the "creatorProps" props using contextualize props. But the "SettableBeanProperty origProp" is from "_beanProperties". The "creatorProps" is created as ``` creatorProps = _valueInstantiator.getFromObjectArguments(ctxt.getConfig()); ```...

need-test-case

**Describe the bug** I am experiencing issues with the new coercion settings that were released in v2.12.0. I would like to disable coercion between `String` and `Integer`. **Version information** v2.12.1...

coercion-config
2.14
pr-welcome

I am dealing with JSON where properties for certain areas are prefixed with given values. For example, ```json { "key" : "val1", "@key" : "val2", "$key" : "val3" } ```...

One omission in Jackson 2.x is that while deserialization-related methods of `SettableBeanProperty` take `DeserializationContext` argument, `set()` and `setAndReturn()` do not. This is problematic for things like error reporting, access to...

3.x

**Describe the bug** With #312 sub type mapping to same class was fixed/ enabled for declaring `@JsonSubTypes`. As already mentioned in [a later comment](https://github.com/FasterXML/jackson-databind/issues/312#issuecomment-406244548) in that issue, the same does...