1 repositorio
Defines different encoding schemes for the same type based on field qualifiers.
Distinct from Data Encoding Schemes: Distinct from Data Encoding Schemes: focuses on contextual application of rules via qualifiers rather than binary format representations.
Explore 1 awesome GitHub repository matching data & databases · Contextual Serialization Rules. Refine with filters or upvote what's useful.
Moshi is a JSON serialization library and parser for Kotlin and Java. It functions as a reflectionless JSON encoder that converts typed objects to JSON strings and parses JSON data back into language objects. The library distinguishes itself through compile-time adapter generation, which removes the performance overhead associated with runtime reflection. It also provides a polymorphic JSON mapper that uses type identifiers to resolve and instantiate specific subclasses of a common base type. The framework supports custom adapter definitions for specialized type conversion, including nullabi
Uses qualifiers to apply different encoding rules to the same data type based on the specific field context.