23 个仓库
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.
这是一个用于 Swift 的 Socket.IO 客户端库,提供了一个事件驱动的网络框架,用于在 iOS 应用程序和 Socket.IO 服务器之间建立实时的双向通信。它作为一个用于维护持久连接并交换命名数据事件和二进制有效载荷的工具。 该库实现了基于 WebSocket 的传输,并带有 HTTP 长轮询回退以确保连接。它管理一个基于回调的架构来处理服务器通知,并利用加密通信通道来保护网络流量。 该框架涵盖了原始二进制缓冲区的交换以及将事件有效载荷序列化为 JSON 帧。它包括用于事件发射、服务器事件监听以及基于确认的请求周期的机制,以确认已发送消息的接收。
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.
本项目是 Go 编程语言综合指南的中文翻译版。它作为一个本地化的教育资源和技术手册,旨在为语言语法、设计和软件开发提供指导。 该资源涵盖了广泛的 Go 语言教育内容,包括编程模式的实现和系统设计。它包含翻译后的课程和示例,重点关注并发和接口使用等核心语言特性。 内容跨越了多个能力领域,包括语言基础、数据建模、运行时反射和内存管理。它还详细介绍了软件架构、错误处理、质量保证和 Web 网络编程。 该文档结构为技术手册,包含翻译内容、勘误和修正,以确保学习的准确性。
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 是一个高性能 Python JSON 库和基于 C 的解析器,旨在最大限度地减少解析开销。它提供了 JSON 规范的 C 实现,以实现数据的快速编码和解码。 该项目作为一个并发 JSON 处理器,支持多线程序列化和反序列化,以提高数据吞吐量并防止阻塞执行。 其功能涵盖 Python 数据序列化和用于实时数据管道的高性能 JSON 处理。这包括解析 JSON 数据并将原生对象序列化为 JSON 字符串。
Provides a fast C-based implementation for serializing native Python objects into JSON strings.
MagicOnion 是一个 .NET RPC 框架,用于使用共享接口构建类型安全的远程过程调用服务,以实现服务器和客户端之间的通信。它作为一个二进制序列化框架和分布式服务编排器,为低延迟流和实时数据交换提供了网络层。 该项目通过一个 AOT 兼容的网络客户端脱颖而出,该客户端使用源生成器来支持受限运行时环境中的提前编译。它支持双向通信和实时数据流,允许服务器和多个客户端异步推送消息而无需轮询。 该框架涵盖了广泛的功能面,包括基于会话的有状态连接管理、用于验证的基于拦截器的请求管道,以及基于角色的访问控制。它还包括观测工具(如基于心跳的连接监控和服务器性能指标),以及对 Unity 网络通信的支持。
Enables the serialization and transmission of specific engine data types using specialized extension packages.