eclipse-ee4j/yasson

Name: yasson

Owner: Eclipse Foundation

Owner: Eclipse EE4J

Description: Yasson project

Created: 2016-11-18 14:46:19.0

Updated: 2018-05-20 13:56:22.0

Pushed: 2018-05-23 13:47:36.0

Homepage: null

Size: 1237

Language: Java

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Yasson

Yasson is a Java framework which provides a standard binding layer between Java classes and JSON documents. This is similar to what JAXB is doing in the XML world. Yasson is an official reference implementation of JSON Binding (JSR-367).

It defines a default mapping algorithm for converting existing Java classes to JSON suitable for the most cases:

b jsonb = JsonbBuilder.create();
ng result = jsonb.toJson(someObject);

For whom it's not enough it provides rich customization abilities through a set of annotations and rich programmatic API:

reate custom configuration
bConfig config = new JsonbConfig()
ithNullValues(true)
ithFormating(true);

reate Jsonb with custom configuration
b jsonb = JsonbBuilder.create(config);

se it!
ng result = jsonb.toJson(someObject);
Licenses
Links

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.