2 个仓库
Mapping variant-based types to different structural representations.
Distinct from Polymorphic Data Encodings: Distinct from Polymorphic Data Modeling: focuses on structural mapping for variant types.
Explore 2 awesome GitHub repositories matching data & databases · Polymorphic Mapping. Refine with filters or upvote what's useful.
This project is a framework for the efficient serialization and deserialization of data structures. It provides a unified, macro-based interface that automates the conversion of complex internal objects into standardized formats and reconstructs them from raw input streams or buffers. By leveraging compile-time code generation, the library minimizes manual implementation overhead while ensuring consistent logic across diverse data types. The framework distinguishes itself through a format-agnostic data model and a visitor-based parsing architecture that decouples data structures from specific
Maps variant-based types to different structural representations like tagged or untagged formats to ensure compatibility with diverse schemas.
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
Embeds type identifiers in the JSON to resolve and instantiate specific subclasses of a common base type.