22 Repos
Configurations for controlling the serialization of data into JSON format.
Distinguishing note: No existing candidates; focuses on output style and encoding settings.
Explore 22 awesome GitHub repositories matching web development · JSON Encoding. Refine with filters or upvote what's useful.
Django REST Framework is a toolkit for building standards-compliant web services that map complex data models to structured HTTP responses. It provides a modular architecture for handling the request lifecycle, including authentication, permission checks, and content negotiation. The framework is designed to facilitate the development of robust APIs by transforming complex data types into native formats and validating incoming request payloads against defined schemas. The project distinguishes itself through a highly modular, class-based design that allows developers to build complex views an
Ensures consistent data serialization by configuring JSON output styles and encoding.
Kratos is a toolkit for building cloud-native microservices in Go. It provides a comprehensive suite of framework primitives, including a dedicated toolset for API-first development using Protobuf to generate server and client code for gRPC and HTTP. The project is distinguished by its pluggable service infrastructure, which allows for the swapping of configuration stores, service registries, and data encoding formats. It utilizes a composable middleware pipeline to inject cross-cutting concerns such as authentication, request validation, and circuit breaking into the service flow. The frame
Implements flexible serialization of data into JSON format using standard or Protobuf-specific semantics.
This project is a REST-to-gRPC API gateway and JSON reverse proxy that translates RESTful HTTP requests into gRPC service calls. It functions as a protocol buffer proxy generator, providing the tools necessary to bridge JSON-based HTTP traffic with backend gRPC servers. The system distinguishes itself by automating the creation of reverse-proxy servers and stubs through protobuf-driven code generation. It also includes a dedicated OpenAPI specification generator that produces OpenAPI v2 and v3 documents from gRPC service definitions and annotations. The project covers a broad range of integr
Provides custom marshalers to change the wire format of the gateway, such as using MessagePack instead of JSON.
This project is a high-performance JSON library for Go, serving as a replacement for the standard encoding/json package. It provides a serialization engine for encoding and decoding data structures, alongside a schemaless parser for extracting specific values from JSON blobs using paths. The library distinguishes itself through a focus on reducing CPU and memory overhead. It implements a high-performance encoder that utilizes buffer reuse and reduced float precision to increase data throughput. Broad capability areas include data serialization, high-performance JSON processing, and schema-le
Provides a high-performance implementation for converting internal data structures into formatted JSON text strings.
Sonic is a high-performance Go JSON serialization library that provides tools for encoding and decoding native data structures. It functions as a JIT-accelerated encoder, a JSON AST parser, a stream processor, and a lazy decoder. The project utilizes just-in-time machine code generation to optimize the encoding of large data schemas and employs a JIT assembler to maximize serialization and deserialization speeds. It features a precompiled schema warmup process to prevent latency spikes during initial execution and leverages SIMD hardware instructions for accelerated parsing. The library cove
Offers a configuration system to control HTML escaping, key sorting, and compact formatting of JSON output.
Spring AI is an application framework for Java that provides a portable, fluent API for integrating AI models, tools, and vector stores into applications. It wraps multiple AI providers behind a common interface, allowing developers to switch between chat, embedding, image, and speech models without changing application code. The framework includes a chainable chat client API similar to WebClient or RestClient, supports both synchronous and streaming interactions, and offers structured output conversion that transforms unstructured AI responses into strongly-typed Java objects. The framework
Ships a mechanism to replace default JSON serialization of tool call results with custom converters.
This is a JavaScript library for parsing and serializing JSON data, with a particular focus on handling objects that contain circular references. It provides a standard JSON parser that reads text and reconstructs JavaScript values without using the eval function, guarding against code injection, alongside a standard serializer that converts objects into JSON strings for data interchange. The library distinguishes itself by offering specialized encoding and decoding for cyclical object graphs. It can serialize objects with circular references by replacing repeated object paths with JSONPath s
Encodes objects with circular references into JSON-safe representations using JSONPath links.
Goja is a JavaScript engine and ECMAScript compliant interpreter implemented entirely in Go. It serves as an embedded scripting engine that allows Go applications to execute JavaScript code and integrate a programmable scripting layer without relying on Cgo or external native dependencies. The project functions as a bridge between Go and JavaScript, enabling bidirectional data exchange and function invocation. It allows Go hosts to expose native structs, slices, and maps as JavaScript objects and arrays, while providing mechanisms to export script values and functions back into native Go type
Allows specifying custom string representations for data types when processed by JSON stringify.
VCR is a Ruby library that records and replays HTTP interactions during test runs, storing them in serialized cassette files. It captures real HTTP requests and responses, then serves those recorded responses instead of making actual network calls, enabling fast and deterministic test suites that work offline. The library provides configurable request matching, allowing comparisons based on method, URI, host, path, body, or headers to find the correct recorded response. It supports scheduled cassette re-recording to automatically refresh stored interactions at a configurable interval, keeping
Provides custom serializers for storing recorded HTTP interactions in YAML, JSON, or other formats.
CppGuide is a curated collection of educational resources and practical guides focused on C++ server development, Linux kernel internals, concurrent programming, network protocols, and security exploitation. It provides structured learning paths for backend developers, covering everything from interview preparation to building high-performance network servers and understanding operating system fundamentals. The guide distinguishes itself by offering in-depth, hands-on tutorials that walk through real-world implementations, including building a Redis-like server from scratch, designing custom
Demonstrates JSON serialization and deserialization with custom handling for complex data types.
CloudEvents is an open specification for describing event data in a common format across cloud platforms and services. It defines a standard structure and set of metadata attributes for events, enabling interoperability across different systems so producers and consumers can exchange events without custom translation. The specification provides a protocol-agnostic serialization framework that maps CloudEvents attributes and payloads to multiple serialization formats including JSON, Avro, and Protobuf, and defines transport bindings for mapping events onto protocols like HTTP, AMQP, Kafka, MQTT
Stores binary event data as Base64-encoded JSON strings alongside content type metadata.
Dies ist eine Socket.IO-Client-Bibliothek für Swift, die ein ereignisgesteuertes Netzwerk-Framework für den Aufbau einer bidirektionalen Echtzeitkommunikation zwischen iOS-Anwendungen und Socket.IO-Servern bereitstellt. Sie fungiert als Tool zur Aufrechterhaltung persistenter Verbindungen und zum Austausch benannter Datenereignisse und binärer Payloads. Die Bibliothek implementiert einen WebSocket-basierten Transport mit einem HTTP-Long-Polling-Fallback, um die Konnektivität sicherzustellen. Sie verwaltet eine Callback-basierte Architektur zur Handhabung von Server-Benachrichtigungen und nutzt verschlüsselte Kommunikationskanäle, um den Netzwerkverkehr zu sichern. Das Framework deckt den Austausch roher binärer Puffer und die Serialisierung von Event-Payloads in JSON-Frames ab. Es enthält Mechanismen für Event-Emission, Server-Event-Listening und einen auf Bestätigungen basierenden Request-Zyklus, um den Empfang gesendeter Nachrichten zu bestätigen.
Serializes all event names and data payloads into JSON strings for consistent cross-platform communication.
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
Provides interfaces to implement custom encoding, decoding, and compression logic for message payloads.
Superjson is a lossless JSON serialization library and data transcoder. It converts complex JavaScript and TypeScript data types into strings and metadata to ensure that type identity is preserved during data transfer. The library preserves non-native types such as Dates, Maps, and Sets by splitting values into a JSON-compatible payload and a separate map of type-specific metadata. It utilizes a registry-based mapping system that allows for the definition of custom type handlers to manage third-party data types during serialization and deserialization. This utility supports cross-process dat
Provides lossless encoding of complex JavaScript types into JSON format while preserving type identity.
Dieses Projekt ist eine chinesische Übersetzung eines umfassenden Leitfadens zur Programmiersprache Go. Es dient als lokalisierte Bildungsressource und technisches Handbuch, das Orientierung zu Sprachsyntax, Design und Softwareentwicklung bietet. Die Ressource deckt ein breites Spektrum der Go-Sprachausbildung ab, einschließlich der Implementierung von Programmiermustern und Systemdesign. Sie enthält übersetzte Lektionen und Beispiele, die sich auf Kernfunktionen der Sprache wie Concurrency und die Verwendung von Interfaces konzentrieren. Der Inhalt umfasst verschiedene Kompetenzbereiche, darunter Sprachgrundlagen, Datenmodellierung, Runtime-Reflection und Speicherverwaltung. Zudem bietet es detaillierte Abhandlungen zu Softwarearchitektur, Fehlerbehandlung, Qualitätssicherung und Web-Networking. Die Dokumentation ist als technisches Handbuch strukturiert, das übersetzte Inhalte, Errata und Korrekturen enthält, um ein präzises Lernen zu gewährleisten.
Explains how to encode and decode data structures between memory formats and JSON strings.
protobuf-net is a .NET library that serializes and deserializes objects using the Protocol Buffers binary format for efficient data exchange. It provides a code-first gRPC service framework, allowing developers to define service contracts directly from existing C# classes without writing separate .proto files. The library is nullable-aware, encoding null values in collections and nullable scalars using wrapper messages to distinguish null from default zero values, and includes an ahead-of-time serializer generator that compiles serializer code at build time to eliminate runtime code generati
Supports defining serialization rules through a runtime type model without requiring code attributes.
This is a TOML parser and serializer for the Go language. It serves as a data serialization library and configuration file mapper that encodes and decodes data between Go structures and the TOML configuration format. The library provides interfaces for custom type marshaling, allowing for specialized logic when parsing or serializing specific data types. It transforms structured objects into deterministic TOML documents for storage or transmission. The project covers a broad range of data processing capabilities, including structured value encoding, TOML data generation, and metadata inspect
Enables custom encoding and decoding logic for specific types using marshaler and unmarshaler interfaces.
Sprig is a comprehensive library of helper functions designed to extend the Go text template engine. It provides a wide array of custom functions that can be injected into the engine to enable complex data manipulation and logic directly within templates. The project offers specialized capabilities for cryptography, including the generation of private keys, X.509 certificates, and secure password hashes. It also includes advanced logic extensions for semantic versioning comparison, ternary evaluations, and the resolution of environment variables from the host operating system. The library co
Encodes data structures into JSON strings with support for pretty-printing and HTML escaping.
Ultrajson ist eine hochperformante Python-JSON-Bibliothek und ein C-basierter Parser, der entwickelt wurde, um Parsing-Overhead zu minimieren. Er bietet eine C-Implementierung der JSON-Spezifikation, um schnelles Enkodieren und Dekodieren von Daten zu ermöglichen. Das Projekt fungiert als konkaurrenter JSON-Prozessor und unterstützt Multi-Threaded-Serialisierung und -Deserialisierung, um den Datendurchsatz zu erhöhen und blockierende Ausführungen zu verhindern. Die Funktionen decken Python-Datenserialisierung und hochperformante JSON-Verarbeitung für Echtzeit-Datenpipelines ab. Dies beinhaltet das Parsen von JSON-Daten und das Serialisieren nativer Objekte in JSON-Strings.
Provides a fast C-based implementation for serializing native Python objects into JSON strings.
MagicOnion ist ein .NET RPC-Framework, das verwendet wird, um typsichere Remote-Prozeduraufrufdienste unter Verwendung gemeinsamer Interfaces für die Kommunikation zwischen Servern und Clients zu erstellen. Es fungiert als binäres Serialisierungs-Framework und verteilter Service-Orchestrator und bietet eine Netzwerkschicht für Streaming mit geringer Latenz und Echtzeit-Datenaustausch. Das Projekt zeichnet sich durch einen AOT-kompatiblen Netzwerk-Client aus, der Source-Generatoren verwendet, um Ahead-of-Time-Kompilierung in eingeschränkten Laufzeitumgebungen zu unterstützen. Es ermöglicht bidirektionale Kommunikation und Echtzeit-Daten-Streaming, wodurch Server und mehrere Clients Nachrichten asynchron ohne Polling pushen können. Das Framework deckt eine breite Funktionspalette ab, einschließlich sitzungsbasiertem, zustandsbehaftetem Verbindungsmanagement, Interceptor-basierten Request-Pipelines zur Validierung und rollenbasierter Zugriffskontrolle. Es enthält zudem Observability-Tools wie Heartbeat-basiertes Verbindungs-Monitoring und Server-Leistungsmetriken sowie Unterstützung für Unity-Netzwerkkommunikation.
Enables the serialization and transmission of specific engine data types using specialized extension packages.