9 个仓库
Serializers that convert objects to and from the compact MessagePack binary format with high performance and low allocation.
Distinct from High-Performance Binary Serialization: Distinct from High-Performance Binary Serialization: focuses specifically on the MessagePack format, not general binary serialization.
Explore 9 awesome GitHub repositories matching data & databases · MessagePack Serializers. Refine with filters or upvote what's useful.
ArduinoJson is a C++ library for parsing and manipulating JSON data and MessagePack binary streams on microcontrollers with limited memory and processing power. It provides the core primitives necessary for embedded data serialization and parsing, enabling devices to exchange structured data over serial or network interfaces. The library is distinguished by its focus on microcontroller memory management, employing strategies such as pool-based allocation, string deduplication, and non-owning string views to minimize RAM usage. It further optimizes for constrained environments by allowing cons
Encodes structured documents into compact MessagePack binary streams.
MessagePack-CSharp is a high-performance binary serialization library for .NET applications that converts object graphs into the MessagePack format. It functions as a C# data serialization toolkit and a polymorphic binary encoder capable of handling abstract classes and interfaces using union keys to identify concrete derived types. The library provides a binary format transcoder to transform binary data into human-readable JSON for debugging. It supports ahead-of-time formatter generation to avoid runtime overhead and implements LZ4 binary compression to reduce the size of serialized data.
Provides a high-performance binary serialization implementation specifically for the MessagePack format in .NET.
MessagePack-CSharp is a high-performance binary serializer for .NET that converts C# objects to and from the compact MessagePack format. It uses compile-time source generation to produce AOT-safe formatters and resolvers, eliminating runtime reflection and enabling ahead-of-time compilation scenarios. The serializer encodes object fields as integer indices instead of string keys, producing compact binary output with deterministic field ordering, and provides stack-allocated reader and writer structs for direct encoding and decoding of MessagePack primitives without heap allocations. The libra
Provides high-performance MessagePack binary serialization for .NET objects with customizable resolvers.
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
Encodes class instances into JSON, MessagePack, YAML, or TOML and decodes them back with validation.
PartyKit is a serverless WebSocket backend platform for building real-time multiplayer applications. It provides a globally distributed edge computing runtime that runs stateful server code close to users, with automatic scaling and hibernation for idle rooms. The platform handles WebSocket connections, HTTP requests, and durable storage without requiring infrastructure management, and includes a client and server SDK with hooks, storage, and Yjs integration for building collaborative features. The platform distinguishes itself through per-room isolation using Durable Objects, where each uniq
Serializes JavaScript objects into a compact binary format using MessagePack to reduce message size.
FastStream is an asynchronous Python framework designed for building event-driven microservices. It provides a unified abstraction layer for interacting with various message brokers, enabling developers to manage event production and consumption through a consistent interface while maintaining access to native provider-specific features. The framework centers on a decorator-based routing model that binds application logic directly to broker topics, supported by a built-in dependency injection container that resolves resources at runtime. The framework distinguishes itself through its deep int
Integrates high-performance serialization using Msgspec for JSON, MessagePack, YAML, and TOML with schema validation.
LoopBack Next 是一个用于构建 REST 和多协议 API 的 Node.js API 框架。它作为一个 OpenAPI 服务器实现,既可以从代码生成机器可读的规范,也可以从现有规范生成实现控制器和模型。 该框架的特色在于中央依赖注入容器和存储库模式的数据访问层。这种架构将应用程序逻辑与组件构建和持久化存储解耦,允许通过标准化的连接器系统实现数据源和业务逻辑隔离的可插拔系统。 该项目涵盖了广泛的功能,包括具有可插拔身份验证策略的基于角色的访问控制,以及外部 REST 和 SOAP 服务的编排。它还通过命令行界面提供用于 WebSocket 端点实时通信、JSON 模式验证和自动化项目脚手架的工具。 开发过程由一套 CLI 工具支持,用于引导应用程序、生成 API 组件和管理项目依赖项。
Converts binary MessagePack payloads into objects for use within controllers and validates them against JSON schemas.
msgspec is a high-performance data modeling, serialization, and schema validation toolkit for Python. It serves as a type-safe serialization framework that integrates schema enforcement and data parsing into a single pass, functioning as both a data serialization library and a schema validation system based on standard Python type annotations. The project distinguishes itself through high-performance structural primitives, including compilation-based routine generation and zero-copy buffer parsing. It optimizes memory usage via garbage collection-aware layouts and reduces processing overhead
Converts MessagePack binary bytes into typed structures using custom hooks and extensions.
json-joy 是一个用于构建实时协作应用和分布式系统的综合库。它提供了一个强大的框架,用于管理共享的 JSON 类数据结构,这些结构会自动合并来自多个用户的并发编辑,确保所有副本之间的一致状态,而无需中央协调服务器。 该项目通过高性能的数据处理方法脱颖而出,利用无冲突复制数据类型(CRDT)和基于逻辑时钟的同步来维护数据完整性。它包含一个专门的引擎,用于使用标准化的指针语法导航和操作复杂的嵌套对象,以及一个用于对文档应用细粒度、原子修改的工具包。这些功能辅以一个支持紧凑二进制格式的高速序列化库,以优化网络带宽和存储效率。 除了核心同步逻辑外,该库还提供了一套广泛的响应式状态管理和用户界面集成工具。它提供声明式的 Hooks 和组件,将共享数据模型直接绑定到基于 Web 的文本和代码编辑器,从而实现实时在线状态、远程光标渲染和本地历史记录跟踪等功能。该系统还支持高级数据处理,包括模式验证、表达式求值和高性能的树状数据组织。
Includes a high-speed codec for encoding and decoding data into the compact MessagePack binary format.