OpenAPITools/openapi-generator

[REQ] Generate JsonB model (JSR 367 Specification)

Open

#4104 aperta il 9 ott 2019

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)Java (7516 fork)batch import
Client: JavaEnhancement: FeatureHacktoberfestServer: Javahelp wanted

Metriche repository

Star
 (26.243 star)
Metriche merge PR
 (Merge medio 12g 6h) (104 PR mergiate in 30 g)

Descrizione

Is your feature request related to a problem? Please describe.

JsonB (JSR 367 Specification) is the new standard for JSON serialization : https://javaee.github.io/jsonb-spec/

It would be nice to add a serializationLibrary: JsonB

Describe the solution you'd like

There are small differences with Jackson generation

Jackson import : import com.fasterxml.jackson.annotation.JsonProperty; Will be replace by : import javax.json.bind.annotation.JsonbProperty;

Annotations @JsonProperty are replaced by @JsonbProperty

Describe alternatives you've considered

Additional context

Guida contributor