gojq vs JSON Hero
gojq
github.comJSON Hero
jsonhero.devSide by side
| Figure | gojq | JSON Hero |
|---|---|---|
| Price from | Free | $4.99/mo |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Web | — | Yes |
| Windows | Yes | — |
| macOS | Yes | — |
| Linux | Yes | — |
| Self-hosted | Yes | — |
| Plans published | 1 | 2 |
| Spec score · JSON Tools | 8.5 (#5) | 7.6 (#17) |
| Purpose | gojq is a pure Go implementation of the jq command-line JSON processor and can also be embedded as a library in Go products. | JSON Hero is an online tool for formatting, minifying, validating, viewing, searching, editing, comparing, and sharing JSON. |
| Support | The project directs users to report bugs through its GitHub Issues page. | Pro includes priority replies by email at [email protected]. |
Plans
In their own words
gojq
gojq is a free, MIT-licensed Go implementation of the jq command, with a library for embedding queries in Go products. The command-line tool applies jq-style queries to JSON, including filtering, field selection, updates, and multiple input values. It reads YAML and can produce YAML output. Integer arithmetic uses arbitrary precision for addition, subtraction, multiplication, modulo, and divisible division. The project describes gojq as portable and supports Linux, macOS, Windows, and self-hosted use. Documented installation routes include Homebrew, mise, Zero Install, source builds, and Docker images. Go applications can parse and run queries, compile them for reuse, and configure custom functions and iterators. Environment-variable access and module loading are disabled by default for library queries and require configured loaders. gojq does not preserve object key order and lacks some jq extensions, flags, functions, and regular-expression behavior.