tidwall

    tidwall/gjson

    Get JSON values quickly - JSON parser for Go

    15.6K stars
    2.1K forks
    15.6K GitHub watchers
    Updated Nov 2, 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.

    The project lists 25 contributors on GitHub.

    Gained 81% fewer stars in the last 90 days than in the 90 days before.

    Use Cases & Benefits

    • Provides a fast and simple Go package to retrieve values from JSON documents using dot notation paths and queries.
    • Delivers high-performance JSON parsing with zero allocations and supports complex queries and modifiers for flexible data extraction.
    • Use for quickly extracting nested JSON values in Go applications without full unmarshalling for improved speed and lower memory usage.
    • Use for processing JSON Lines format data streams efficiently by treating multi-line JSON as arrays for iteration and querying.
    • Use for building custom JSON query pipelines with chained modifiers and custom functions to transform or validate JSON data on the fly.

    Should you depend on it?

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

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present

    Watch-outs

    • No GitHub releases; pin a commit or tag instead of a release.

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

    From the README

    get json values quickly

    GJSON is a Go package that provides a fast and simple way to get values from a json document. It has features such as one line retrieval, dot notation paths, iteration, and parsing json lines.

    Also check out SJSON for modifying json, and the JJ command line tool.

    This README is a quick overview of how to use GJSON, for more information check out GJSON Syntax.

    GJSON is also available for Python and Rust

    To start using GJSON, install Go and run go get:

    This will retrieve the library.

    Excerpt from the tidwall/gjson README on GitHub (MIT 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

    2.1K+1.2K

    Open issues

    101+3

    Compared with peers in Backend

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

    tidwall/gjson compared with Backend repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    anthropics/skills192.3K+5.2K75—
    zed-industries/zed94.7K+2.3K756 days ago
    google/skills23.8K+2.0K75—
    NationalSecurityAgency/ghidra99.4K+1.8K7519 days ago
    DuarteSantos8/openGym20.8K+1.7K757 days ago
    tidwall/gjson15.6K—20—
    Category median94.7K+2.0K75—

    Discover Repositories

    Search across tracked repositories by name or description