jackson-databind
jackson-databind copied to clipboard
General data-binding package for Jackson (2.x): works on streaming API (core) implementation(s)
**Describe the bug** Serialized result of java `Class` & `Record` is different with `RedisTemplate`. **Version information** 2.13.3 **To Reproduce** ``` java ====== RedisConfiguration ====== @Configuration @AutoConfigureAfter(RedisAutoConfiguration.class) @ConditionalOnClass(RedisOperations.class) public class RedisConfiguration...
Was trying out the new constructor detector feature (https://cowtowncoder.medium.com/jackson-2-12-most-wanted-3-5-246624e2d3d0/) and stumbled upon the following issue. I had this code which forbids nulls on deserialization: ``` import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonSetter; import...
**Is your feature request related to a problem? Please describe.** With `records` becoming more prevalent, the two suggested workarounds to make properties required would mean that most of the code...
If this library possible in the future make key and value of json beauty different color like in apps postman.
**Describe the bug** Not sure this is a reincarnation of #793. Attempting to read a JSON into `JsonNode` fails when the `ObjectMapper` is initialized with default typing. **Version information** 2.13.2...
Fix for https://github.com/FasterXML/jackson-module-kotlin/issues/568, which will be transferred to this repo (if you prefer I can just create a new issue instead) and then I will update the comments in the...
**Describe the bug** When I'm using `JsonSetter.Value.forValueNulls(Nulls.AS_EMPTY, Nulls.AS_EMPTY)` for nullable value with type `java.lang.Object` in a Map, I still getting the null in the deserialized object. I think that problem...
Looks like use of `@JsonSetter(nulls=...)` does not work with Records in 2.12.0. Note that earlier report (#2970) turned out to be valid, but since I closed it earlier decided to...
**Describe the bug** When deserializating an empty JSON object `{}` into a record that contains a list of another record results in: ``` java.lang.IllegalStateException: com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot create empty instance of...