3 个仓库
Converts typed class instances to and from compact binary representations for efficient storage or transmission.
Distinct from Binary Serialization Formats: Distinct from Binary Serialization Formats: focuses on converting class instances to binary, not general data encoding.
Explore 3 awesome GitHub repositories matching data & databases · Class Instance Binary Serializers. Refine with filters or upvote what's useful.
attrs is a Python library that automatically generates initialization, representation, equality, hashing, and ordering methods from declarative class attribute definitions. At its core, it provides a class decorator metaprogramming framework that intercepts class creation to rewrite the class body, producing dunder methods without manual boilerplate. The library includes a comprehensive attribute validation toolkit with built-in validators for type checks, range constraints, regex matching, length limits, and logical composition of validation rules. The library distinguishes itself through it
Ships a binary serialization feature for attrs class instances using a compact binary format.
protobuf-net 是一个二进制序列化框架和 .NET 库,实现了 Protocol Buffers 规范。它作为一个基于模式的序列化工具和契约优先的数据映射器,将复杂的对象图转换为紧凑的二进制格式,用于存储和网络传输。 该库通过减小有效载荷大小和处理时间,实现了跨平台数据交换和高性能网络通信。它特别支持对象层次结构持久化,允许序列化和重构包含继承和派生类型的复杂类结构。 该项目涵盖了核心功能,包括二进制数据序列化和反序列化、模式驱动的类生成,以及通过唯一标识符管理类型继承。它提供了通过静态属性或动态运行时配置映射数据结构的机制。
Converts typed .NET class instances into compact binary representations for efficient storage and transmission.
fastjson2 is a high-performance Java library used for serializing and deserializing Java objects to and from JSON strings and byte arrays. It functions as a binary JSON serializer for encoding objects into optimized binary formats to reduce payload size and increase processing speed. The project includes a JSONPath query engine for extracting specific data and fields from JSON documents using standardized path expressions and filters. It also serves as a JSON schema validator, providing utilities to generate data contracts and validate JSON input against defined schemas to ensure structural c
Converts typed class instances to compact binary representations while preserving class information for automatic type resolution.