jackson-annotations
jackson-annotations copied to clipboard
Core annotations (annotations that only depend on jackson-core) for Jackson data processor
Hi) Got a project at hand, using tons of JsonSubTypes with logical short names defined for the brevity of serialized data. Usually, it's pretty hard to manually check there are...
In our POJO we have 2 `Map` fields and both have keys prefixes. So it will very help if @JsonAnySetter annotation will support some prefixes and suffixes. ``` class Request...
https://github.com/FasterXML/jackson-databind/issues/2352 added support for using `@JsonAlias` to accept alternate enum values. However, this functionality is not documented in the [`@JsonAlias` Javadocs](http://fasterxml.github.io/jackson-annotations/javadoc/2.13/com/fasterxml/jackson/annotation/JsonValue.html). It was therefore quite the surprise to me to...
suppose we have Product Object it has ``` Attribute["attributeValues"] -> AttributeValue["products"] -> Product["seller"] -> Seller["shops"] -> Shop["attributes"] -> Attribute["attributeValues"] -> AttributeValue["products"] -> Product["seller"] Seller["shops"] -> Shop["attributes"] -> Attribute["attributeValues"] ``` we...
Hi, I love the JsonSchemaGenerator were I can use your JSON* annotations and javax.validation.constraints without problems. One feature I miss is the possibility to generate a dependencies (until draft-07) /...
this is probably more of a consideration for 3, but could be implemented for 2 as well. I'm using the ``` com.fasterxml.jackson.dataformat:jackson-dataformat-yaml ``` but honestly this could apply to any...
Java: 11.0.10 Jackson: 2.12.2 We currently have all fields returned by an API in kebab case (eg: `first-name`), which wants to convert to camel case for consistency with other systems...
For the recently found vulnerability [CVE-2021-25646](https://nvd.nist.gov/vuln/detail/CVE-2021-25646) in Apache Druid a flaw with `@JacksonInject` was abused, that is by default it uses (and overwrites injected data with) deserialized data. For Apache...
Re-rasing this issue from the old Jira bug tracker: https://jira.codehaus.org/browse/JACKSON-781 It was suggested this should be raised in the [data bind](https://github.com/FasterXML/jackson-databind/issues) project, but as it is an annotation, this seemed...
I'm working on mapping an external service that sends postbacks in wrapped JSON. I have set the `@JsonRootName` on the class and can read objects with a specially-configured mapper, but...