awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
serde-rs avatar

serde-rs/json

0
View on GitHub↗
5,587 stars·648 forks·Rust·Apache-2.0·21 views

Json

This is a Rust serialization library for converting data structures to and from JSON strings and byte streams. It is built as a framework within the Serde ecosystem, providing both a strongly typed parser for compile-time safety and a recursive value tree for manipulating JSON data without a predefined schema.

The project supports both typed and untyped processing. It can map JSON data into specific Rust types for schema conformity or parse input into a flexible, schemaless representation. It also includes macro-based utilities for the dynamic construction of JSON objects.

Features

  • Rust - Provides a high-performance JSON serialization framework specifically designed for the Rust ecosystem.
  • JSON Serializers - Provides utilities to convert typed Rust data into JSON format for storage or transmission.
  • JSON Parsers - Provides a parser that maps JSON data into Rust types for compile-time safety and schema conformity.
  • JSON Serialization Libraries - A comprehensive library for converting Rust data structures to and from JSON strings and byte streams.
  • Recursive JSON Value Trees - Provides a recursive enum-based tree representation for manipulating schemaless JSON data.
  • JSON Format Implementations - Implements JSON serialization and deserialization as part of the Serde ecosystem framework.
  • JSON Parsing - Parses JSON strings into a recursive tree representation for flexible use without a predefined schema.
  • Typed JSON Parsers - Maps JSON data into strongly typed Rust structures with compile-time safety and layout conformity.
  • JSON Serialization - Converts strongly typed Rust data structures into JSON strings or byte streams.
  • Trait-Based Deserialization - Uses Rust traits to define how JSON payloads are parsed into strongly typed structures.
  • Trait-Based Serialization - Employs a common set of traits to decouple data structures from the JSON output format during encoding.
  • JSON Construction Utilities - Provides macro-based utilities for building JSON objects using native Rust syntax.
  • Schema-less Extraction - Supports reading JSON data into a flexible tree structure when the input schema is unknown.
  • Deserialization Visitors - Utilizes deserialization visitors to map JSON tokens directly to typed objects without intermediate allocations.
  • Zero-Copy Parsing - Supports zero-copy parsing by returning slices of the input string instead of allocating new memory for values.
  • Sum Type Representations - Implements a recursive enum-based sum type to represent schemaless JSON data.
  • Stream-Based IO - Provides traits for reading and writing JSON data via generic buffers to optimize memory usage.

Star history

Star history chart for serde-rs/jsonStar history chart for serde-rs/json

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with Json

These projects share indexed features with Json. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • ijl/orjsonijl avatar

    ijl/orjson

    8,110View on GitHub↗

    orjson is a high-performance Python library for serializing and deserializing JSON data. It functions as both a JSON parsing library and a serialization engine, converting data between native Python objects and UTF-8 encoded bytes. The project provides specialized support for converting complex Python data structures, including dataclasses, datetime objects, and NumPy arrays and scalars, into JSON format. It also allows for the insertion of pre-serialized JSON blobs into documents to maintain processing speed. The library includes capabilities for memory-efficient deserialization through key

    Pythondataclassesdatetimedeserialization
    View on GitHub↗8,110
  • johnezang/jsonkitjohnezang avatar

    johnezang/JSONKit

    6,180View on GitHub↗

    JSONKit is an Objective-C library used for parsing, serializing, and manipulating JSON data. It functions as a JSON parser that converts text into native data structures and a serializer that transforms native objects into formatted JSON text. The library includes a gzip compression wrapper that compresses serialized JSON payloads to reduce network transfer sizes and automatically detects and decompresses gzip buffers before decoding. The toolset provides capabilities for JSON parsing and serialization, supporting customizable indentation, character escaping, and flexible comment handling.

    Objective-C
    View on GitHub↗6,180
  • douglascrockford/json-jsdouglascrockford avatar

    douglascrockford/JSON-js

    8,724View on GitHub↗

    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

    JavaScript
    View on GitHub↗8,724
  • bitly/go-simplejsonbitly avatar

    bitly/go-simplejson

    3,743View on GitHub↗

    go-simplejson is a JSON manipulation library for Go that provides schemaless parsing and modification of arbitrary JSON data. It serves as a wrapper for interacting with JSON structures without requiring the definition of predefined structs or schemas. The library enables dynamic processing of JSON payloads through a recursive tree structure and a mutable node hierarchy. This allows for the extraction and modification of values from complex, nested objects where the data format may be unknown or change dynamically. The project covers arbitrary JSON parsing and the retrieval of data from dyna

    Go
    View on GitHub↗3,743
Compare all 30 related projects→

Frequently asked questions

What does serde-rs/json do?

This is a Rust serialization library for converting data structures to and from JSON strings and byte streams. It is built as a framework within the Serde ecosystem, providing both a strongly typed parser for compile-time safety and a recursive value tree for manipulating JSON data without a predefined schema.

What are the main features of serde-rs/json?

The main features of serde-rs/json are: Rust, JSON Serializers, JSON Parsers, JSON Serialization Libraries, Recursive JSON Value Trees, JSON Format Implementations, JSON Parsing, Typed JSON Parsers.

Which projects share features with serde-rs/json?

Projects with overlapping indexed features include: ijl/orjson — orjson is a high-performance Python library for serializing and deserializing JSON data. It functions as both a JSON… johnezang/jsonkit — JSONKit is an Objective-C library used for parsing, serializing, and manipulating JSON data. It functions as a JSON… douglascrockford/json-js — This is a JavaScript library for parsing and serializing JSON data, with a particular focus on handling objects that… bitly/go-simplejson — go-simplejson is a JSON manipulation library for Go that provides schemaless parsing and modification of arbitrary… miloyip/json-tutorial — This is an educational tutorial that walks through implementing a complete JSON library from scratch in C. The project… bblanchon/arduinojson — ArduinoJson is a C++ library for parsing and manipulating JSON data and MessagePack binary streams on microcontrollers…