23 repository-uri
Configurations for controlling the serialization of data into JSON format.
Distinguishing note: No existing candidates; focuses on output style and encoding settings.
Explore 23 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.
Aceasta este o bibliotecă client Socket.IO pentru Swift, oferind un framework de rețea bazat pe evenimente pentru stabilirea comunicării bidirecționale în timp real între aplicațiile iOS și serverele Socket.IO. Funcționează ca un instrument pentru menținerea conexiunilor persistente și schimbul de evenimente de date numite și payload-uri binare. Biblioteca implementează un transport bazat pe WebSocket cu un fallback de tip HTTP long-polling pentru a asigura conectivitatea. Gestionează o arhitectură bazată pe callback-uri pentru a trata notificările serverului și utilizează canale de comunicare criptate pentru a securiza traficul de rețea. Framework-ul acoperă schimbul de buffere binare brute și serializarea payload-urilor de evenimente în cadre JSON. Include mecanisme pentru emiterea de evenimente, ascultarea evenimentelor serverului și un ciclu de cerere bazat pe confirmare (acknowledgement) pentru a confirma primirea mesajelor trimise.
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.
Acest proiect este o traducere în chineză a unui ghid cuprinzător pentru limbajul de programare Go. Servește ca resursă educațională localizată și manual tehnic conceput pentru a oferi îndrumări privind sintaxa limbajului, designul și dezvoltarea software. Resursa acoperă o gamă largă de educație în limbajul Go, inclusiv implementarea modelelor de programare și designul de sistem. Include lecții traduse și exemple care se concentrează pe caracteristicile de bază ale limbajului, cum ar fi concurența și utilizarea interfețelor. Conținutul acoperă diverse domenii de capabilitate, inclusiv fundamentele limbajului, modelarea datelor, runtime reflection și gestionarea memoriei. De asemenea, oferă o acoperire detaliată a arhitecturii software, gestionarea erorilor, asigurarea calității și rețelistica web. Documentația este structurată ca un manual tehnic care conține conținut tradus, erate și corecții pentru a asigura o învățare precisă.
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 este o bibliotecă Python de înaltă performanță pentru JSON și un parser bazat pe C, conceput pentru a minimiza overhead-ul de parsare. Oferă o implementare în C a specificației JSON pentru a permite codificarea și decodarea rapidă a datelor. Proiectul funcționează ca un procesor JSON concurent, suportând serializarea și deserializarea multi-threaded pentru a crește throughput-ul datelor și a preveni blocarea execuției. Capabilitățile sale acoperă serializarea datelor Python și procesarea JSON de înaltă performanță pentru pipeline-uri de date în timp real. Aceasta include parsarea datelor JSON și serializarea obiectelor native în șiruri JSON.
Provides a fast C-based implementation for serializing native Python objects into JSON strings.
MagicOnion este un framework RPC .NET utilizat pentru a construi servicii de apeluri de proceduri la distanță type-safe, folosind interfețe partajate pentru comunicarea între servere și clienți. Acesta funcționează ca un framework de serializare binară și un orchestrator de servicii distribuite, oferind un strat de rețea pentru streaming cu latență scăzută și schimb de date în timp real. Proiectul se distinge printr-un client de rețea compatibil AOT care utilizează generatoare de sursă pentru a suporta compilarea ahead-of-time în medii de runtime restricționate. Acesta permite comunicarea bidirecțională și streaming-ul de date în timp real, permițând serverelor și clienților multipli să trimită mesaje asincron fără polling. Framework-ul acoperă o suprafață largă de capabilități, inclusiv gestionarea conexiunilor cu stare bazată pe sesiune, pipeline-uri de cereri bazate pe interceptoare pentru validare și controlul accesului bazat pe roluri. Include, de asemenea, instrumente de observabilitate, cum ar fi monitorizarea conexiunilor bazată pe heartbeat și metrici de performanță ale serverului, alături de suport pentru comunicarea în rețea Unity.
Enables the serialization and transmission of specific engine data types using specialized extension packages.