# tidwall/gjson

Get JSON values quickly - JSON parser for Go

Repository: https://github.com/tidwall/gjson
Canonical: https://ross.abutalabs.com/products/gjson
Language: Go
License: MIT
License Family: permissive
Topics: json, golang, json-parser
Last push: 2026-05-14T15:10:24+00:00

## Health v2 (maintenance only)
Score: 69/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 82, release rhythm 35, longevity 100
- inputs: {"age_days": 3674, "days_push": 111, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 15554, forks 912 (observed 2026-08-28T04:11:11.890081+00:00)

## What it is
GJSON is a Go library for quickly extracting values from JSON documents using dot-notation paths, with support for wildcards, iteration, and JSON Lines. It is read-only and designed for fast, one-line value retrieval without full unmarshaling.

## Use cases
- extract a field from a  document in go
- query nested  values with dot notation paths
- parse  lines streams
- iterate over  arrays and objects
- read  without unmarshaling into structs
- fast  value lookup for large documents

## When to choose
- you need fast read-only access to  values in Go
- you want path-based queries without defining structs
- you process  lines or large  payloads

## When to avoid
- you need to modify or write  (use s instead)
- you need strict schema validation or unmarshaling into typed structs
- you are not working in Go or a ported language

## Facets
- artifact type: library
- maturity: stable
- function: parser, serialization
- domain: developer-tools, parsers, files
- platform: go, cross-platform
- tags: -path, -lines, read-only, performance

## Member repositories
- tidwall/gjson (main) score 69

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:11.890081+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:05:39.410833+00:00, confidence not recorded.
  - readme: https://github.com/tidwall/gjson (fetched 2026-08-28T04:11:11.890081+00:00, sha c08439414a48)
- Data as of 2026-08-30T08:39:29.467469+00:00.
