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

**Describe the bug** JsonNaming does not seem to be applied to Java 16 record types for deserialization. **Version information** 2.12.2 **To Reproduce** Simple unit test: ```java public class RecordTest {...

Record
2.14

**Describe the bug** When using type id with `As.EXTERNAL_PROPERTY` together with @JsonValue inside type the serialiser omits external type id field from result when @JsonValue value is null. **Version information**...

to-evaluate

**Describe the bug** Given a class `A`with a private field `a` that extends a class `B` with a private field `b` and both fields having the `@JsonView` annotation the annotation...

need-test-case

The current signature of JsonNode#deepCopy looks like this: `public abstract T deepCopy();` I wondered about the decision to do this as you can quite easily create a ClassCastException using this...

3.x

cc: @cowtowncoder I saw people using Jackson to do it, but in a not-so-efficient way: ``` MyPojo myPojo = new MyPojo(); ObjectMapper mapper = new ObjectMapper(); MyPojo newPojo = mapper.readValue(mapper.writeValueAsString(myPojo),...

3.x

**Describe the bug** `Caused by: com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot construct instance of `javax.mail.internet.InternetAddress` (although at least one Creator exists): no String-argument constructor/factory method to deserialize from String value ('[email protected]')` ``` protected T...

will-not-fix

**Describe the bug** I have encountered the issue where my custom AnnotationIntrospector method `findPropertyTypeResolver` receives `JavaType baseType` generic Object.class for generic method, meanwhile `AnnotatedMember (AnnotatedMethod::getRawReturnType())` returns correct type **Version information**...

need-test-case
to-evaluate

Hello, When I try to use a `@JsonNaming` annotation on a record, I cannot unmarshall json to an object because a mapping exception occurs. I use jackson 2.12.0 with JDK...

Record
2.14

```java public static void main(String[] args) throws JsonProcessingException { final String temp = "10"; final ObjectMapper objectMapper = new ObjectMapper(); final Object o = objectMapper.readValue(temp, Object.class); System.out.println(o instanceof Long); //...

to-evaluate

Hi, sorry, to make an issue for such topic. I used Java microbenchmark harness to make some tests That was an object with 100 of primitive int fields and an...