serde-rs

    serde-rs/json

    Strongly typed JSON library for Rust

    backend
    json
    rust
    serde
    Rust
    Apache-2.0
    5.7K stars
    699 forks
    5.7K GitHub watchers
    Updated Nov 3, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    3 releases in the last 90 days, the latest 23 days ago, with 135 contributors on GitHub.

    Use Cases & Benefits

    • Provides a strongly typed JSON serialization and deserialization library for Rust.
    • Offers efficient, safe, and flexible conversion between JSON text, untyped JSON values, and strongly typed Rust data structures.
    • Use for parsing and manipulating JSON data received as text from HTTP endpoints or files in Rust applications.
    • Use for defining Rust structs with automatic JSON serialization and deserialization via Serde derive macros.
    • Use for constructing JSON values programmatically with the json! macro and serializing Rust data structures to JSON strings or streams.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    Apache 2.0

    Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.

    Community files

    • README: present
    • Contributing guide: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    Serde is a framework for serializing and deserializing Rust data structures efficiently and generically.

    JSON is a ubiquitous open-standard format that uses human-readable text to transmit data objects consisting of key-value pairs.

    There are three common ways that you might find yourself needing to work with JSON data in Rust.

    Serde JSON provides efficient, flexible, safe ways of converting data between each of these representations.

    Any valid JSON data can be manipulated in the following recursive enum representation. This data structure is serde_json::Value.

    A string of JSON data can be parsed into a serde_json::Value by the serde_json::from_str function. There is also from_slice for parsing from a byte slice &[u8] and from_reader for parsing from any io::Read like a File or a TCP stream.

    The result of square bracket indexing like v["name"] is a borrow of the data at that index, so the type is &Value. A JSON map can be indexed with string keys, while a JSON array can be indexed with integer keys. If the type of the data is not right for the type with which it is being indexed, or if a map does not contain the key being indexed, or if the index into a vector is out of bounds, the returned element is Value::Null.

    Excerpt from the serde-rs/json README on GitHub (Apache-2.0 license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    699+37

    Open issues

    251+22

    Compared with peers in Backend

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    serde-rs/json compared with Backend repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    anthropics/skills187.8K+2.9K15—
    DuarteSantos8/openGym19.7K+2.4K602 days ago
    shiyu-coder/Kronos47.0K+2.3K16—
    NationalSecurityAgency/ghidra98.2K+2.3K6414 days ago
    microsoft/VibeVoice56.0K+1.1K29—
    serde-rs/json5.7K—5923 days ago
    Category median56.0K+2.3K29—

    Also by serde-rs

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description