jackson-databind
jackson-databind copied to clipboard
General data-binding package for Jackson (2.x): works on streaming API (core) implementation(s)
(note: follow-up to #5046) With change to `MethodHandle`s it seems there should no longer be any benefit from trying to force access of `public` accessors (Fields, Methods). While we may...
### Is your feature request related to a problem? Please describe. Currently to deserialize object in ObjectMapper we use below syntax - ``` ObjectMapper m = new ObjectMapper(); final String...
**Describe the bug** I am trying to deserialize classes which have circurlar dependencies. To handle that, I used BackReference and ManagedReference as below. However, it seems , the back reference...
As I noted on [Stack Overflow](https://stackoverflow.com/q/76560273), I'm using Java 17 and I have a `Bar` type I want serialized to JSON using its `toString()` method. I'm serializing using a Jackson...
When using `@JsonAnyGetter` annotation, the settings `objectMapper.configure(SerializationFeature.WRITE_NULL_MAP_VALUES, false);` and `objectMapper.setPropertyInclusion(JsonInclude.Value.construct(JsonInclude.Include.NON_NULL, JsonInclude.Include.NON_NULL));` do not appear to be respected. When serializing a map that is not annotated with `@JsonAnyGetter` null values are...
`ObjectMapper` has a convenient `convertValue` method which is not currently propagated to `ObjectReader`. Adding this method would be useful in situations where one needs to add custom attributes for a...
Since many dataformat backends require specifying of a `FormatSchema` -- at least Avro, CSV, Protobuf and (Java) Properties do -- and since in most cases there is a way to...
There is some usage (esp. via Java properties files) where "simple" arrays are expressed as comma-separated lists, like so: ``` json { "hosts" : "localhost:8080, otherhost.com:8080" } ``` and it...
As requested in FasterXML/jackson-module-scala#65, and discussed in [this thread](http://markmail.org/thread/3d44ktyzr72jv45z). This would take the form of: - A BaseSettings property that specifies the default radix for Number-to-String conversion. Defaults to 10....
3.x seems to introduce severe change to widely used interfaces, like removal of `ObjectMapper.registerModule`. It'd be nice to have a migration guide which offers an overview of such popular 2.x...