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

We've got a user question in Johnzon whether setting PropertyOrderStrategy should end up sorting Map and Set fields as well. My personal interpretation from reading the spec is that it...

enhancement
documentation

Custom Serialization currently doesn't seem to trigger for anything other than the initial object passed into "toJson", should this be the case? I want to serialize every instance of X...

enhancement

One of my coworkers recently informed me of what they believed was a JSON-B bug in Yasson where a class annotated with @JsonbPropertyOrder(PropertyOrderStrategy.LEXICOGRAPHICAL) did not observe a lexicographical ordering for...

documentation

JSON-B spec document declared @JsonbSerialized and @JsonbDeserialized annotations. These annotations and defined as @JsonbTypeSerializer and @JsonbTypeDeserializer in the API. Spec document has to be updated.

bug
documentation

It is commonly necessary to test if two Java objects representing JSON data are equal to one another. For example, consider the following class: ```java public class MyData { public...

enhancement

The spec neither javadoc describes what is the parser 'looking at' when passed to user deserializer and if it is scoped in any way, and curent implementations vary in their...

enhancement
documentation

Quite a few JSON formats represent times as the number of seconds since 1970. It would be useful to be able to bind these to a java.time.Instant. JSON-B offers [JsonbDateFormat.TIME_IN_MILLIS](http://json-b.net/docs/api/java.json.bind/javax/json/bind/annotation/JsonbDateFormat.html#TIME_IN_MILLIS),...

enhancement

Behavior of passing input `"null"` in `Jsonb.fromJson("null", T)` is unspecified. Section 3.6 defines to return (type) `null` for unspecified output type, but this is only very limited case. I propose...

enhancement
documentation

I have an Employee class that produces the following JSON: ```javascript { "audit": { "createdDate": "2019-03-17T21:07:57.019", "updatedDate": "2019-03-17T21:07:57.019" }, "id": 1, "version": 1, "firstName": "Mike", "lastName": "Norman", "salary": 5000 }...

enhancement

in [JSONB specification document](https://jcp.org/en/jsr/detail?id=367) section 3.13, it is required that properties from parent classes are serialized first. `@JsonbPropertyOrder` annotation is declared on a TYPE. Should it include properties from parent...

enhancement
documentation