jackson-databind
jackson-databind copied to clipboard
General data-binding package for Jackson (2.x): works on streaming API (core) implementation(s)
### Search before asking - [x] I searched in the [issues](https://github.com/FasterXML/jackson-databind/issues) and found nothing similar. ### Describe the bug Given some type wrapping a `String` property, with a deserialization startegy...
### Search before asking - [x] I searched in the [issues](https://github.com/FasterXML/jackson-databind/issues) and found nothing similar. ### Describe the bug If both `JsonCreator` and `DefaultCreator` are reported, the `JsonCreator` should take...
### Discussed in https://github.com/FasterXML/jackson-databind/discussions/4888 Originally posted by **chrylis** January 7, 2025 Currently, `@JsonAnySetter` can be used on a physical field of type `Map`, but unlike `@JsonProperty`, it will be silently...
Jackson: 2.18.2 I consider an interface with `@JsonTypeInfo(use = JsonTypeInfo.Id.MINIMAL_CLASS, property = "type")`. It works correctly with implementations in thr same package, but it fails with implementations in a child...
### Search before asking - [x] I searched in the [issues](https://github.com/FasterXML/jackson-databind/issues) and found nothing similar. ### Describe the bug If there is an `ImplicitPropertyName`, it seems that `JsonCreator.Mode.PROPERTIES` is treated...
### Describe your Issue Because Java is not Delphi ObjectPascal or modern JavaScript or Kotlin, it has no idea of "properties", although the JavaBeans specification was an attempt to shoehorn...
### Search before asking - [X] I searched in the [issues](https://github.com/FasterXML/jackson-databind/issues) and found nothing similar. ### Describe the bug Same issue as in https://github.com/FasterXML/jackson-databind/issues/4741, but happens when the target is...
I tried to apply `@JsonUnwrapped` annotation to `Optional` field and can't figure out why deserialization turns this field into null value. I wrote a test to demonstrate this issue and...
(note: based on https://github.com/FasterXML/jackson-annotations/issues/102) Since existing but deprecated `SerializationFeature.WRITE_EMPTY_JSON_ARRAYS` does not have exact replacement as is, we need to figure out what to do: main choices being: 1. Figure out...