jackson-databind
jackson-databind copied to clipboard
General data-binding package for Jackson (2.x): works on streaming API (core) implementation(s)
Consider the following example: ``` java public static class View { } public static class View1 extends View { } public static class View2 extends View { } @Test public...
**Feature** Support static factory methods in factory classes. The factory method should be able to accept properties like a class-local creator method. **Problem solved** Currently a creator method must be...
(note: follow up on #2456 ) Currently most of caching Jackson does internally (for reusing things like serializers, deserializers, to avoid re-resolving some generic types and so on) is internally...
Inconsistency between @JsonInclude and ObjectMapper.setDefaultPropertyInclusion() for default values
**Describe the bug** There is an inconsistency in how @JsonInclude and ObjectMapper.setDefaultPropertyInclusion(). If you use @JsonInclude you can use custom default values and for those defaults the value will be...
**Describe the bug** If deduction-based polymorphism is used, Jackson will deserialize all decimal values as BigDecimal if they are mapped to `java.lang.Object`. **Version information** 2.13.3 **To Reproduce** This can be...
I've added the empty value to the Object deserializer in maps as `new Object();`. Fixes #3489
**Describe the bug** The filter method only get called once if the field value is `NULL`, when using `@JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = SomeFieldFilter.class)` **Version information** 2.12.6.1 **To Reproduce** 1....
(note: follow-up to #3493) Before Jackson 2.12, apparently it was possible to serialize `ByteArrayOutputStream` values as a POJO -- if (and only if) auto-detection of all visibility levels (including `private`)...
Hello everyone, We discussed this new feature already in a closed PR. It was on the wrong branch. Therefore here on branch 2.14: In several projects (especially REST APIs) in...
As [briefly discussed](https://github.com/FasterXML/jackson-databind/issues/1029#issuecomment-396971145), here's a separate issue to track the feature request to allow the "production" of aliases, i.e. configure aliases globally similar to a `PropertyNamingStrategy`. Being able to do...