itchyny/gojq

Pure Go implementation of jq

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 1 hour ago
Added to GitGenius on September 18th, 2026
Created on April 12th, 2019
Open Issues & Pull Requests: 18 (+0)
GitHub issues: Enabled
Number of forks: 154
Total Stargazers: 3,805 (+0)
Total Subscribers: 36 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 37.9 hours
Mean response time: 71.7 days
90th percentile: 120.1 days
Tracked items: 25

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 6
New in 7 days: 1
Closed in 7 days: 1
Avg open age: 443 days
Stale 30+ days: 5
Stale 90+ days: 4

Recent activity

Opened in 7 days: 1
Closed in 7 days: 1
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Detailed Description

gojq is a pure Go implementation of jq, the command-line JSON query and transformation tool.

The tool solves the problem of querying and manipulating JSON data without requiring the original jq binary or its dependencies. It reimplements jq's query language and functionality entirely in Go, allowing developers to use jq-like syntax for JSON processing in environments where the C implementation may be unavailable or inconvenient to deploy. The approach involves parsing jq filter expressions and executing them against JSON input to produce transformed output.

Developers should choose this tool when they need jq functionality in a Go environment, want to avoid external C dependencies, or require jq as a library rather than just a command-line utility. It suits projects that process JSON data and prefer a single statically-compiled binary. The tool is particularly valuable for containerized deployments, embedded systems, or Go applications that need JSON querying capabilities without shell-out overhead.

The project shows consistent maintenance with regular updates addressing edge cases and expanding compatibility with jq's behavior. Development activity demonstrates attention to correctness through incremental refinement of the jq language implementation. The maintainers actively respond to issues and incorporate fixes for divergences from the original jq specification.