Description
YaGson is a universal type-preserving Java serialization library that can convert (almost) arbitrary Java Objects into JSON and back, with transparent support for circular references of any kind and full support of type polymorphism.
YaGson is based on Google’s Gson, so it inherits all Gson benefits and adds new valuable features. The name YaGson is actually an abbreviation for "yet another Gson".
Compared to other JSON serializers, such as Gson or Jackson, YaGson imposes almost no restrictions on the serialized classes, and requires neither changes to those classes (like adding annotations for Jackson) nor custom Gson adapters for out-of-the-box support of complicated cases like:
- child to parent references, self-references, and circular references of any other kind
- mixed-type arrays, collections, and objects
- inner, local, and anonymous classes.
YaGson alternatives and similar libraries
Based on the "JSON" category.
Alternatively, view YaGson alternatives based on common mentions on social networks and blogs.
-
jackson-modules-java8
Set of support modules for Java 8 datatypes (Optionals, date/time) and features (parameter names) -
JSON-io
Convert Java to JSON. Convert JSON to Java. Pretty print JSON. Java JSON serializer. Deep copy Java object graphs. -
Java-SerialX
Store Java objects into JSON or any format you want! SerialX is a powerful lightweight utility library to serialize Java objects programmatically via tweakable recursive descent parser for custom domain-specific languages!
CodeRabbit: AI Code Reviews for Developers
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of YaGson or a related project?