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 238 jackson-databind issues
Sort by recently updated
recently updated
newest added

It would be nice to be able to configure the builder method name prefix Jackson uses either globally through a configuration on `ObjectMapper` or through the `@JsonDeserialize` annotation itself. I'm...

builder-related

Given an input json string like `"{\"Id\":1,\"Title\":\"title\",\"ShortDescription\":\"desc\"}"`, I'd like to keep java naming conventions on my class, and use `PropertyNamingStrategy.UpperCamelCaseStrategy` for deserialization: ```java @lombok.Data @lombok.Builder @lombok.NoArgsConstructor @lombok.AllArgsConstructor(access = AccessLevel.PACKAGE) @JsonNaming(PropertyNamingStrategy.UpperCamelCaseStrategy.class)...

builder-related

Hi, I have something like the following code: ``` public class DataBean { private final String val; @JsonCreator public DataBean( @JsonProperty(value = "val") String val) { super(); this.val = val;...

has-failing-test

(note: continuation from https://github.com/FasterXML/jackson-dataformats-binary/issues/205) Sometimes it would be valuable to be able to construct `ObjectMapper` types with different backing format: for example, based on `JsonMapper`, create a `SmileMapper` using shared...

I need to serialize/deserialize untyped collections, and I get issue when deserialing. I push failing unit test in my repository: https://github.com/alex-t0/deserialization-fail-example/blob/master/src/test/java/deserialization/fail/example/DeserializationFromUntypedCollectionsTest.java. In this test I have simple User class and...

An issue was reported for a case where `Long`-valued Object Id ended up being written with Type Id, due Default Typing being enabled with `ObjectMapper.DefaultTyping.EVERYTHING`. While it is quite easy...

### Describe your Issue (note: regression partly due to #3373, reported f.ex as #4354 (but not just that)) So: if custom `TypeIdResolver` returns `null` from `idFromValue()` or `idFromValueAndType()`, result is...

2.18

Jackson Version: jackson-databind:2.11.1 How to reproduce: Check out repo: https://github.com/r9liucc/jackson-deserializer-bug and run main class TestDeser.java, it will throw: ``` com.fasterxml.jackson.databind.exc.MismatchedInputException: No _valueDeserializer assigned ``` If rename Room.something to Room.outer, code...

has-failing-test

@JsonProperty's access mode should be inversed on server side and client side when both sides are sharing the same module class. when using access = READ_ONLY with @JsonProperty, on the...

**Describe the bug** I have a class with `@JsonTypeName` which uses the external field `type`, I also have a `type` field in my class. When I am serializing the class...