6 个仓库
Tools and libraries for defining custom data transformation, encoding, and decoding logic with schema validation.
Distinguishing note: Focuses on the programmatic definition of custom data codecs and bidirectional mapping, distinct from generic database drivers or storage engines.
Explore 6 awesome GitHub repositories matching data & databases · Data Serialization Frameworks. Refine with filters or upvote what's useful.
Zod is a TypeScript-first schema declaration and validation library designed to ensure end-to-end data integrity. It functions as a runtime type guard, allowing developers to define complex data structures through a declarative, chainable syntax. By using these schema definitions, the library automatically derives static TypeScript types, eliminating the need for manual type duplication and ensuring that runtime data matches expected application contracts. The library distinguishes itself through functional schema composition, which enables the creation of hierarchical structures by nesting a
Implements custom bidirectional data transformations and encoding logic to map between input and output types while maintaining schema integrity.
Pydantic is a data validation and serialization library that enforces schema constraints and performs type conversion on complex data structures. It utilizes standard Python type annotations to define data models, allowing developers to establish structured schemas that automatically enforce business rules and constraints without the need for custom domain-specific languages. The library distinguishes itself by transforming high-level model definitions into optimized code during initialization to minimize runtime overhead. It supports recursive validation for nested data structures and employ
Transforms complex objects into serialized formats while ensuring strict adherence to defined data schemas.
Gson is a Java library designed for the serialization and deserialization of objects into structured text formats. It functions as a reflection-based data mapper, inspecting class structures at runtime to automatically convert memory-resident objects into data representations and reconstruct them back into typed language objects. The library distinguishes itself through a modular type-adapter pattern that allows for custom conversion rules for complex or nested structures. It also provides robust support for production environments by generating build-time metadata and configuration rules, wh
Converts complex programming objects into structured text formats and reconstructs them into functional objects.
This project is an educational framework designed to teach the fundamentals of building core distributed systems and web services from scratch in Go. It provides a collection of modular implementations that demonstrate how to construct essential infrastructure components, including web servers, remote procedure call systems, distributed caches, and database abstraction layers. The framework distinguishes itself by focusing on the internal mechanics of these systems rather than providing a high-level abstraction for production use. It covers the implementation of complex architectural patterns
Supports pluggable serialization logic to enable diverse data encoding formats for service communication.
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
Provides a unified, macro-based framework for serializing and deserializing complex data structures.
Hawk 是一个适用于 Android 的安全本地存储库和持久化 API。它提供了一个框架,用于使用键值存储系统保存和检索原始类型、对象和集合。 该库具有加密存储包装器,通过可插拔的加密提供程序保护数据,包括回退到非加密模式的机制。其架构允许自定义存储后端实现和基于接口的组件注入,以替换默认的序列化、解析和转换过程。 该系统支持类型保留序列化,并包含用于管理数据生命周期的实用程序,例如目标条目删除和批量状态重置。它还结合了系统日志拦截功能,以捕获和处理内部消息。
Provides a customizable framework for converting and serializing data types before committing them to storage.