jsonb-api
jsonb-api copied to clipboard
Jakarta JSON Binding
It does not appear `JsonbTypeAdapter` can be used everywhere `JsonbProperty` can be used. Imagine we have this field-based class ``` public class Source { @JsonbProperty("className") private String className; @JsonbProperty("path") @JsonbTypeAdapter(FileAdapter.class)...
See https://javadoc.io/doc/jakarta.json.bind/jakarta.json.bind-api/2.0.0/element-list or download the Javadoc jar from https://repo1.maven.org/maven2/jakarta/json/bind/jakarta.json.bind-api/2.0.0/ This lacks the module definition causing warnings when trying to link to the API when generating Javadoc for a modular application....
In the application, you may need to serialize/deserialize some objects which come from 3rd party library. So that we cannot put JSON-B annotaions on it. For resolve this issue, just...
ex: @JsonbNamingStrategy(PropertyNamingStrategy.LOWER_CASE_WITH_UNDERSCORES) In jackson @JsonNaming can be used on a class to define naming strategy.
Following changes made to the TCK tests need to be backport to the original [TCK repository](https://github.com/eclipse-ee4j/jakartaee-tck). - [ ] [PR #273](https://github.com/eclipse-ee4j/jsonb-api/pull/273) - [ ] [PR #275](https://github.com/eclipse-ee4j/jsonb-api/pull/275)
Extend deserialize family with a method accepting `TypeToken`. It's more convenient and user friendly than using pure `Type`. Similar mechanism is used in Gson and Jackson. Deserialization of generic list...
JSONB is configured using annotations at compile time and `JsonbConfig` class at runtime. Runtime configuration currently doesn't cover many aspects covered by annotations. The goal is to extend JSONB runtime...
@JsonbProperty annotation if put on not public field/getter/setter must automatically make it visible for JSON-B engine.
Jackson has some handy JSON introspection APIs that could be useful for things like generating GraphQL schemas or OpenAPI templates, etc. It would be nice if JSON-B offered similar APIs...