9 dépôts
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 est un framework d'API Node.js utilisé pour construire des API REST et multi-protocoles. Il fonctionne comme une implémentation de serveur OpenAPI capable soit de générer des spécifications lisibles par machine à partir du code, soit de produire des contrôleurs et des modèles d'implémentation à partir de spécifications existantes. Le framework se distingue par un conteneur d'injection de dépendances central et une couche d'accès aux données basée sur le pattern repository. Cette architecture découple la logique applicative de la construction des composants et du stockage persistant, permettant un système enfichable où les sources de données et la logique métier sont isolées via un système de connecteurs standardisé. Le projet couvre un large éventail de capacités, incluant le contrôle d'accès basé sur les rôles avec des stratégies d'authentification enfichables et l'orchestration de services REST et SOAP externes. Il fournit également des outils pour la communication en temps réel via des endpoints WebSocket, la validation de schémas JSON, et l'échafaudage automatique de projets via une interface en ligne de commande. Le développement est soutenu par un ensemble d'outils CLI pour amorcer les applications, générer des composants d'API et gérer les dépendances du projet.
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 est une bibliothèque complète pour construire des applications collaboratives en temps réel et des systèmes distribués. Elle fournit un framework robuste pour gérer des structures de données de type JSON partagées qui fusionnent automatiquement les modifications concurrentes de plusieurs utilisateurs, garantissant un état cohérent sur toutes les répliques sans nécessiter de serveur de coordination central. Le projet se distingue par une approche haute performance de la gestion des données, utilisant des types de données répliqués sans conflit (CRDT) et une synchronisation basée sur des horloges logiques pour maintenir l'intégrité des données. Il inclut un moteur spécialisé pour naviguer et manipuler des objets imbriqués complexes en utilisant une syntaxe de pointeur standardisée, ainsi qu'une boîte à outils pour appliquer des modifications granulaires et atomiques aux documents. Ces capacités sont complétées par une bibliothèque de sérialisation haute vitesse qui prend en charge des formats binaires compacts pour optimiser la bande passante réseau et l'efficacité du stockage. Au-delà de sa logique de synchronisation de base, la bibliothèque offre une large suite d'outils pour la gestion d'état réactive et l'intégration de l'interface utilisateur. Elle fournit des hooks et des composants déclaratifs qui lient les modèles de données partagés directement aux éditeurs de texte et de code basés sur le web, permettant des fonctionnalités comme la présence en temps réel, le rendu de curseur distant et le suivi de l'historique local. Le système prend également en charge le traitement avancé des données, incluant la validation de schéma, l'évaluation d'expressions et l'organisation de données basée sur des arbres haute performance.
Includes a high-speed codec for encoding and decoding data into the compact MessagePack binary format.