jsonb-api icon indicating copy to clipboard operation
jsonb-api copied to clipboard

Jakarta JSON Binding

Results 120 jsonb-api issues
Sort by recently updated
recently updated
newest added

It is occasionally necessary to clone an existing `Jsonb` instance, and optionally override a specific setting. Would it be possible to add a method like `Jsonb#getConfig` that returns `JsonbConfig`? **Usage...

enhancement

In Jackson, developers can ignore null values in deserialization of the primitive types by setting the `FAIL_ON_NULL_FOR_PRIMITIVES` configuration to false. Recently I've been asked by a couple of developers who...

enhancement

Currently the method `deserialize` does not define what shall happen in case a deserializer expects some particular JSON, but does actually find different JSON. This opens way for several outcomes:...

This issue is related to #33 AFAIK all existing schema based designs presume that the type of an element stays the same regardless of its value. The variable type concept...

Some use cases of a POJO demand that there is neither a *public* nor *protected* default constructor. For example, "effectively immutable" classes (i. e. classes being immutable by applications but...

**Given** the following adapter is part of JSON-B configuration: ```java class MyCustomAdapter implements JsonbAdapter { @Override public Y adaptToJson(X obj) throws Exception { ... } @Override public X adaptFromJson(Y obj)...

I noticed that while Yasson is able to invoke non-public deserializers (as long as these are non-private), Johnzon (incl. 1.2.1) throws an exception for deserializers which are non-public: `Class org.apache.johnzon.jsonb.factory.SimpleJohnzonAdapterFactory...

Currently using JSON-B with immutable objects is hardly doable. @JsonbCreator is only partially helpful here, but makes all parameters required. But also with many parameters the solution starts to smell....

enhancement

Currently the `@JsonbNumberFormat` annotation supports any NumberFormat that can be specified by a `java.text.NumberFormat`. However, all of the NumberFormats that can be specified in Java are not also valid JSON....

bug
documentation

The `JsonbTypeAdapter` annotation technically allows to be used at class level, but its JavaDocs didn't include that option.