20 个仓库
Capabilities for creating or updating complex object graphs in a single operation.
Distinguishing note: No candidates provided; focuses on atomic operations involving nested model hierarchies.
Explore 20 awesome GitHub repositories matching data & databases · Nested Data Persistence. Refine with filters or upvote what's useful.
Sequelize is an object-relational mapping library that provides a unified interface for managing relational data through code. By implementing the Active Record pattern, it maps database tables to application objects, allowing developers to perform standard create, read, update, and delete operations using high-level method calls. The library abstracts complex database interactions by translating these calls into optimized, engine-specific SQL statements, ensuring consistent behavior across different database systems. The project distinguishes itself through a comprehensive suite of tools for
Sequelize supports creating new model instances along with their associated nested models in a single operation during initialization.
Mongoose is an object data modeling library and framework for Node.js that maps application objects to MongoDB documents. It functions as a document mapper and schema validator, ensuring consistent data types and validation rules for records stored in MongoDB. The project provides a system for defining structured schemas to model application data, including the ability to create hierarchical data structures through nested schema composition. It implements a middleware-based hook system that allows for the interception and modification of data states during the lifecycle of database operations
Supports embedding schemas within other schemas to create hierarchical data structures with shared validation.
Yup is a JavaScript schema validation library used to define data shapes and validate runtime values. It functions as an object schema validator and a data coercion engine, allowing developers to transform raw input values into desired types before performing validation checks. The library is distinguished by its support for dynamic schema validation, where rules can be adjusted at runtime based on sibling field values or external context. It also enables recursive data structuring for polymorphic fields and provides a system for extracting static TypeScript interfaces from runtime schema def
Retrieves and validates a specific inner schema at a deeply nested path without validating the entire tree.
TOML is a configuration file format designed for human readability and unambiguous mapping to hash tables. It serves as a standardized language for structured data, enabling consistent parsing and data exchange across diverse programming environments. The format distinguishes itself through a strict type-system specification that ensures data is interpreted identically regardless of the implementation. It utilizes a line-oriented lexical structure that supports both hierarchical organization through bracketed sections and compact inline embedding for nested objects. This approach allows for t
Structures configuration hierarchies using dot-notation or bracketed sections for nested objects.
This is a Go struct validation library used to maintain data integrity by enforcing constraints on fields, slices, and maps. It functions as a schema validation tool and data integrity validator, ensuring that complex nested structures adhere to predefined rules. The library utilizes struct tags to configure validation logic at runtime and supports a custom function registry for extending validation rules. It is distinguished by its ability to perform cross-field dependency evaluation, allowing the comparison of values between different fields within the same data structure to ensure logical
Performs full-tree recursive validation of nested structs, slices, and maps to ensure structural integrity.
Instructor is a framework designed for structured data extraction, validation, and language model integration. It functions as a library that transforms unstructured text into validated, type-safe objects by leveraging schema definitions and model-specific tool-calling capabilities. By acting as a validation middleware, the project ensures that language model outputs strictly conform to defined data structures. The library distinguishes itself through a robust validation-based retry loop that automatically re-submits failed responses with error feedback to iteratively correct schema complianc
Maps complex, hierarchical information from natural language into nested object models to represent relationships and collections.
Redux Persist is a state management utility designed to maintain application data across sessions by synchronizing state with local storage. It functions as a middleware-based engine that automatically saves and restores application state, ensuring that user sessions remain intact after page refreshes or application restarts. The library distinguishes itself through granular control over the persistence lifecycle and data structure. It supports recursive state tree partitioning, allowing developers to apply distinct storage configurations and filtering rules to specific branches of the applic
Allows applying multiple storage layers to different parts of the data tree to support varied storage adapters or granular filtering requirements.
class-validator is a TypeScript class validation library that uses decorators to define constraints and rules for object properties. It functions as a decorator-based schema validator that ensures data integrity and structural correctness through a combination of synchronous checks and promise-based asynchronous rules. The library provides a recursive validation system for checking complex data hierarchies, including nested classes and individual elements within collections. It includes an object property whitelist utility capable of stripping undocumented properties or blocking unknown field
Provides a recursive validation system for checking complex data hierarchies and individual elements within collections.
Vee-validate is a form validation library and state management tool for Vue applications. It enables the validation of user inputs through declarative rules and tracks form metadata, including submission status and dirty states. The library functions as a wrapper for integrating external schema validation libraries to enforce consistent data shapes. It also serves as an internationalized framework for displaying translated error messages and localized feedback. The project covers broad capability areas including form state management, the handling of complex nested data structures, and the s
Provides recursive validation of nested objects and arrays to ensure structural integrity of complex data hierarchies.
ObjectMapper is a JSON serialization framework for Swift that maps JSON strings and dictionaries into strongly typed classes and structs. It functions as a data mapper and converter, facilitating the bidirectional transformation of data between raw JSON and Swift model objects. The library uses protocol-based mapping to associate specific JSON keys with object properties. It supports nested key extraction via dot-notation pathing and employs custom transformation classes to bridge the gap between JSON and Swift types. The framework provides capabilities for model validation during initializa
Processes complex data structures where objects are embedded within other objects, arrays, or dictionaries.
MJExtension is a JSON serialization library and model mapping framework used to convert data between JSON strings and structured model objects. It functions as an object data mapper that handles the encoding and decoding of complex object hierarchies for network transmission and storage. The framework is a non-intrusive data mapper that uses reflection and runtime inspection to map raw data strings to application objects. This approach allows for data transformation without requiring base class inheritance, decorators, or extensions to the underlying model classes. The system supports recurs
Handles the recursive conversion of hierarchical JSON structures into deeply nested model objects.
Objection.js is an object-relational mapper for Node.js that maps SQL database tables to classes and rows to model instances. It functions as a high-level abstraction layer built on top of the Knex.js query builder to provide structured model definitions and relational data mapping. The project distinguishes itself through its ability to manage complex object graphs, allowing for the persistence and eager-loading of deeply nested related data in single operations. It incorporates a data integrity layer that uses JSON schema validation to verify model instances before they are persisted to the
Provides capabilities for creating or updating complex, deeply nested object graphs in a single operation.
Marshmallow is a Python data serialization library and validation framework. It functions as a bridge that transforms complex application objects into primitive data types for storage or network transmission and vice versa. The library utilizes a schema-based approach to validate that incoming data conforms to specific types and constraints. It employs a two-way transformation pipeline consisting of separate load and dump phases to handle deserialization and serialization. The framework supports class-based schema definitions with declarative field validation and recursive schema nesting for
Supports embedding schemas within other schemas to process complex nested objects and lists.
JSONModel is a data modeling framework and serialization library for Apple platforms, including iOS, macOS, watchOS, and tvOS. It transforms JSON strings and dictionaries into typed Swift objects to eliminate manual dictionary parsing. The framework provides a mapping system that utilizes custom key rules and dot-notation to resolve nested data hierarchies. It supports the conversion of complex JSON structures into organized model relationships and manages the transformation of JSON arrays into collections of typed model instances. The toolset includes data type transformation via custom tra
Maps complex hierarchical JSON structures into nested model relationships and collections.
Warns about public mappings with nested structures in Solidity before 0.5, which return incorrect values.
grpcui 是一个基于浏览器的交互式 Web 界面和 API 客户端,用于向 gRPC 服务器执行远程过程调用。它作为一个 HTTP 转 gRPC 网关,将 JSON 有效载荷转换为二进制 protobuf 消息,允许用户通过可视化 Web 界面触发网络请求并检查响应。 该工具通过查询服务器反射或加载本地 protobuf 描述符文件来识别可用服务和方法签名,从而提供模式浏览和发现功能。它使用这些定义自动生成用于构建请求数据的动态输入表单,包括对复杂嵌套结构的支持。 该项目涵盖 API 测试和客户端调试,支持审查响应体、状态码和元数据头。它还通过支持纯文本、TLS 和带有可配置客户端证书的相互认证的传输层来管理安全连接。
Links protobuf type definitions to a browser UI to allow editing of complex nested data structures.
Liveblocks is a realtime collaboration infrastructure platform that synchronizes application state, documents, and user presence across multiple participants using conflict-free replicated data types. It provides a managed backend for collaborative text editors, threaded commenting and annotation systems, in-app notifications, and AI copilot deployment, all built on a WebSocket transport layer with server-side room management APIs. The platform distinguishes itself through a headless component primitive system that exposes unstyled React hooks and composable building blocks, allowing develope
Automatically resolves conflicts on nested objects and maps during simultaneous multi-user editing.
这是一个 Protocol Buffer 验证插件和代码生成器,可在多种编程语言中创建一致的验证逻辑。它作为 Protocol Buffer 工具链的编译器扩展,允许开发人员直接在模式文件中定义语义约束,以确保数据一致性。 该工具使用自定义选项将验证规则嵌入到消息定义中,并将这些模式约束映射到特定语言的实现模式。它采用基于谓词的约束检查和递归遍历,以在嵌套消息层级中强制执行规则。 验证范围涵盖数值范围和值、字符串模式和格式、字节序列约束以及枚举强制执行。它还管理集合和重复字段大小、时间戳和持续时间的复杂类型验证,以及联合字段选择的要求。
Performs recursive validation on message fields to ensure required content is present or skipped throughout the hierarchy.
Drift is a type-safe SQL persistence library and relational mapper that provides a structured way to map database tables to classes and execute SQL queries with build-time validation. It functions as a type-safe query builder and a wrapper for SQLite and PostgreSQL, eliminating manual result set parsing by binding query outputs to native objects. The project distinguishes itself through a build-time code generation system that produces type-safe APIs and validates raw SQL statements against database versions before execution. It features reactive query streaming, which transforms SQL queries
Prevents column name collisions by organizing joined table results into nested objects.
该库是一个用于 Rust 的声明式验证框架,用于在结构化数据模型上强制执行数据完整性和业务规则。它利用过程宏将基于属性的注解转换为可执行的验证逻辑,确保数据结构在处理前符合定义的约束。 该框架通过在编译时执行验证而脱颖而出,这消除了运行时开销并为所有规则提供了严格的类型检查。它支持嵌套数据结构和集合的递归遍历,确保层次结构的每一层都经过验证。除了单个字段约束外,系统还提供用于跨字段一致性检查的钩子,并允许集成自定义领域特定函数以处理复杂的业务需求。 该库为在不同数据结构中实现自定义验证例程提供了一个统一的接口。它以 crate 的形式分发,文档涵盖了声明式属性的应用,以强制执行格式、范围和结构完整性。
Performs recursive validation on collections and sub-structures to ensure every level of the data hierarchy is verified.