Yasson alternatives and similar libraries
Based on the "JSON" category.
Alternatively, view Yasson alternatives based on common mentions on social networks and blogs.
9.7 6.2 Yasson VS GsonA Java serialization/deserialization library to convert Java Objects into JSON and back
7.8 0.0 L4 Yasson VS LoganSquareScreaming fast JSON parsing and serialization library for Android.
7.6 8.9 Yasson VS JacksonCore part of Jackson that defines Streaming API as well as basic shared abstractions
6.9 0.0 L2 Yasson VS jsoniterjsoniter (json-iterator) is fast and flexible JSON parser available in Java and Go
4.3 0.0 Yasson VS jackson-modules-java8Set of support modules for Java 8 datatypes (Optionals, date/time) and features (parameter names)
3.4 6.7 L5 Yasson VS Jackson-datatype-moneyExtension module to properly support datatypes of javax.money
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of Yasson or a related project?
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:
Jsonb jsonb = JsonbBuilder.create(); String result = jsonb.toJson(someObject);
For whom it's not enough it provides rich customization abilities through a set of annotations and rich programmatic API:
// Create custom configuration JsonbConfig config = new JsonbConfig() .withNullValues(true) .withFormating(true); // Create Jsonb with custom configuration Jsonb jsonb = JsonbBuilder.create(config); // Use it! String result = jsonb.toJson(someObject);
Something not working right? Have an idea for an enhancement? Get in touch with the Yasson community in the following ways:
- Gitter: a free instant-messaging platform (similar to Slack) that anyone can join.
- Stackoverflow: As a quesiton tagged
- Github Issues: Open issues for enhancement ideas or bug reports
*Note that all licence references and agreements mentioned in the Yasson README section above are relevant to that project's source code only.