1 repository
Automatically coerces input data into structured formats like typed arrays and nested objects.
Distinct from Complex Data Types: Focuses on the automatic conversion process into complex types, not just the storage of such types.
Explore 1 awesome GitHub repository matching data & databases · Complex Type Coercion. Refine with filters or upvote what's useful.
Virtus is a Ruby attribute management and data coercion library used to define object schemas with typed attributes. It functions as a tool for transforming nested JSON structures and complex input formats into structured internal Ruby data types. The project provides a framework for creating value objects that are compared by their attribute values rather than memory identity. It allows for the mapping of complex external data into domain objects and supports the implementation of custom coercion logic to ensure data consistency. The library covers data modeling through schema-driven attrib
Converts input data into structured formats like typed arrays, hashes, or nested objects.