3 dépôts
Specific environments used to register type serializers and control data processing for particular loading scenarios.
Distinct from Serialization Configuration Managers: Focuses on the transient context used during map loading rather than the global configuration of serialization metadata.
Explore 3 awesome GitHub repositories matching data & databases · Serialization Contexts. Refine with filters or upvote what's useful.
Active Model Serializers est un sérialiseur JSON Ruby on Rails utilisé pour transformer des objets de modèle et des associations en réponses JSON structurées pour les API. Il fonctionne comme un mapper modèle-vers-JSON et un formateur de réponse qui découple les schémas de base de données internes des contrats d'API externes. Le projet utilise un pattern d'adaptateur enfichable pour organiser les données sérialisées selon des standards spécifiques, comme la spécification JSON API. Il fournit un mécanisme pour mapper les attributs internes vers des clés JSON personnalisées et implémente une portée de sérialisation qui permet le filtrage d'attributs et d'associations basé sur le contexte d'autorisation et les permissions utilisateur. L'ensemble d'outils couvre la transformation de données via l'utilisation d'attributs virtuels et la gestion des données associées via sideloading ou embedding d'ID. Il inclut des capacités pour l'injection de métadonnées de réponse, la mise en cache de résultats basée sur des fragments et l'instrumentation de performance pour suivre les métriques de sérialisation.
Passes an authorization context into the serializer to customize output based on user permissions.
go-json is a high-performance JSON serialization library for Go that serves as an encoder and decoder replacement for the standard library. It provides tools to convert native data structures to and from JSON format with optimized processing speeds. The library includes a conditional serializer for filtering specific data structure fields during the encoding process and a colorizer to produce color-coded JSON strings for human readability. The project supports context-aware marshaling to trigger specific logic during the serialization of complex data types.
Provides serialization contexts to pass state through the encoding tree for custom marshalling logic.
Space Station 14 is a C# multiplayer game and roleplay simulation framework. It is built upon an Entity-Component-System (ECS) game engine that separates logic into systems and data into components to manage complex entity interactions. The project functions as a grid-based physics simulator with a YAML data-driven prototype system for defining game objects. The project features a specialized 2D sprite rendering engine that maps server-side appearance data to client-side shaders. It implements a networking model with client-side prediction and dirty-flagged state synchronization to reduce inp
Registers type serializers within specific contexts to control data processing during the map loading process.