Libraries for working with JSON.
| Repository | Stars | Forks | Last Updated | Description |
|---|---|---|---|---|
| tidwall/gjson | 16k | 907 | 2026-08-05T23:26:48Z | Get a JSON value with one line of code. |
| Jeffail/gabs | 4k | 201 | 2026-07-30T12:15:42Z | For parsing, creating and editing unknown or dynamic JSON in Go. |
| tidwall/sjson | 3k | 184 | 2026-07-29T17:35:45Z | Set a JSON value with one line of code. |
| ChimeraCoder/gojson | 3k | 205 | 2026-07-12T16:38:30Z | Automatically generate Go (golang) struct definitions from example JSON. |
| valyala/fastjson | 2k | 158 | 2026-07-30T05:57:44Z | Fast JSON parser and validator for Go. No custom structs, no code generation, no reflection. |
| ohler55/ojg | 954 | 55 | 2026-08-02T17:42:08Z | Optimized JSON for Go is a high performance parser with a variety of additional JSON tools including JSONPath. |
| wI2L/jsondiff | 632 | 44 | 2026-07-31T03:07:23Z | JSON diff library for Go based on RFC6902 (JSON Patch). |
| PerimeterX/marshmallow | 391 | 12 | 2026-06-29T20:42:21Z | Performant JSON unmarshalling for flexible use cases. |
| Qntfy/kazaam | 293 | 52 | 2026-06-15T06:58:45Z | API for arbitrary transformation of JSON documents. |
| spyzhov/ajson | 290 | 25 | 2026-07-24T12:43:53Z | Abstract JSON for golang with JSONPath support. |
| Andrew-M-C/go.jsonvalue | 203 | 18 | 2026-07-06T07:11:44Z | A fast and convenient library for unstructured JSON data, replacing encoding/json. |
| elgs/gojq | 191 | 23 | 2026-06-23T19:09:23Z | JSON query in Golang. |
| wI2L/jettison | 180 | 13 | 2025-09-04T09:00:44Z | Fast and flexible JSON encoder for Go. |
| m-zajac/json2go | 142 | 20 | 2026-07-06T08:53:46Z | Advanced JSON to Go struct conversion. Provides package that can parse multiple JSON documents and create struct to fit them all. |
| skanehira/gjo | 132 | 13 | 2026-01-09T12:46:09Z | Small utility to create JSON objects. |
| yazgazan/jaydiff | 111 | 9 | 2026-07-06T10:36:48Z | JSON diff utility written in Go. |
| ricardolonga/jsongo | 108 | 15 | 2025-01-18T05:01:48Z | Fluent API to make it easier to create Json objects. |
| romshark/jscan | 101 | 7 | 2026-07-28T23:19:49Z | High performance zero-allocation JSON iterator. |
| olvrng/ujson | 85 | 9 | 2026-04-05T20:43:31Z | Fast and minimal JSON parser and transformer that works on unstructured JSON. |
| miolini/jsonf | 64 | 10 | 2026-02-16T12:41:30Z | Console tool for highlighted formatting and struct query fetching JSON. |
| GenshIv/silentjson | 63 | 2 | 2026-07-24T08:24:54Z | Zero-allocation JSON boundary scanner and splitter utilizing AVX2 SIMD instructions. |
| simonnilsson/ask | 58 | 4 | 2026-07-19T14:28:46Z | Easy access to nested values in maps and slices. Works in combination with encoding/json and other packages that "Unmarshal" arbitrary data into Go data-types. |
| nicklaw5/go-respond | 55 | 9 | 2026-06-15T06:17:30Z | Go package for handling common HTTP JSON responses. |
| neilotoole/jsoncolor | 54 | 6 | 2026-07-06T09:13:21Z | Drop-in replacement for encoding/json that outputs colorized JSON. |
| sanbornm/mp | 47 | 8 | 2023-10-15T19:50:38Z | Simple cli email parser. It currently takes stdin and outputs JSON. |
| miladibra10/vjson | 41 | 4 | 2026-01-06T00:34:53Z | Go package for validating JSON objects with declaring a JSON schema with fluent API. |
| limiu82214/gojmapr | 22 | 1 | 2024-01-12T02:17:32Z | Get simple struct from complex json by json path. |
| mickep76/mapslice-json | 20 | 8 | 2024-10-22T02:39:05Z | Go MapSlice for ordered marshal/ unmarshal of maps in JSON. |
| vtopc/epoch | 17 | 3 | 2025-11-14T01:24:51Z | Contains primitives for marshaling/unmarshalling Unix timestamp/epoch to/from build-in time.Time type in JSON. |
| ddymko/go-jsonerror | 16 | 2 | 2024-09-26T15:08:01Z | Go-JsonError is meant to allow us to easily create json response errors that follow the JsonApi spec. |
| cocoonspace/dynjson | 16 | 6 | 2023-09-26T22:57:53Z | Client-customizable JSON formats for dynamic APIs. |
| RichardKnop/jsonhal | 13 | 6 | 2025-10-15T18:44:59Z | Simple Go package to make custom structs marshal into HAL compatible JSON responses. |
| AmuzaTkts/jsonapi-errors | 13 | 3 | 2024-12-29T23:08:18Z | Go bindings based on the JSON API errors reference. |
| sinhashubham95/jsonic | 11 | 2 | 2023-12-26T18:23:37Z | Utilities to handle and query JSON without defining structs in a type safe manner. |
| zerosnake0/jzon | 11 | 2 | 2024-07-22T16:18:21Z | JSON library with standard compatible API/behavior. |
| lucassscaravelli/ej | 10 | 2 | 2023-09-26T22:57:59Z | Write and read JSON from different sources succinctly. |
| nikolaydubina/htmljson | 10 | 0 | 2026-08-02T09:07:30Z | Rich rendering of JSON as HTML in Go. |
| dedalqq/omg.jsonparser | 6 | 2 | 2024-07-06T20:40:39Z | Simple JSON parser with validation by condition via golang struct fields tags. |
| abusomani/jsonhandlers | 2 | 0 | 2023-09-26T23:00:40Z | JSON library to expose simple handlers that lets you easily read and write json from various sources. |
| Repository | Stars | Forks | Last Updated | Description |
|---|---|---|---|---|
| tidwall/gjson | 16k | 907 | 2026-08-05T23:26:48Z | Get a JSON value with one line of code. |
| ChimeraCoder/gojson | 3k | 205 | 2026-07-12T16:38:30Z | Automatically generate Go (golang) struct definitions from example JSON. |
| Jeffail/gabs | 4k | 201 | 2026-07-30T12:15:42Z | For parsing, creating and editing unknown or dynamic JSON in Go. |
| tidwall/sjson | 3k | 184 | 2026-07-29T17:35:45Z | Set a JSON value with one line of code. |
| valyala/fastjson | 2k | 158 | 2026-07-30T05:57:44Z | Fast JSON parser and validator for Go. No custom structs, no code generation, no reflection. |
| ohler55/ojg | 954 | 55 | 2026-08-02T17:42:08Z | Optimized JSON for Go is a high performance parser with a variety of additional JSON tools including JSONPath. |
| Qntfy/kazaam | 293 | 52 | 2026-06-15T06:58:45Z | API for arbitrary transformation of JSON documents. |
| wI2L/jsondiff | 632 | 44 | 2026-07-31T03:07:23Z | JSON diff library for Go based on RFC6902 (JSON Patch). |
| spyzhov/ajson | 290 | 25 | 2026-07-24T12:43:53Z | Abstract JSON for golang with JSONPath support. |
| elgs/gojq | 191 | 23 | 2026-06-23T19:09:23Z | JSON query in Golang. |
| m-zajac/json2go | 142 | 20 | 2026-07-06T08:53:46Z | Advanced JSON to Go struct conversion. Provides package that can parse multiple JSON documents and create struct to fit them all. |
| Andrew-M-C/go.jsonvalue | 203 | 18 | 2026-07-06T07:11:44Z | A fast and convenient library for unstructured JSON data, replacing encoding/json. |
| ricardolonga/jsongo | 108 | 15 | 2025-01-18T05:01:48Z | Fluent API to make it easier to create Json objects. |
| wI2L/jettison | 180 | 13 | 2025-09-04T09:00:44Z | Fast and flexible JSON encoder for Go. |
| skanehira/gjo | 132 | 13 | 2026-01-09T12:46:09Z | Small utility to create JSON objects. |
| PerimeterX/marshmallow | 391 | 12 | 2026-06-29T20:42:21Z | Performant JSON unmarshalling for flexible use cases. |
| miolini/jsonf | 64 | 10 | 2026-02-16T12:41:30Z | Console tool for highlighted formatting and struct query fetching JSON. |
| olvrng/ujson | 85 | 9 | 2026-04-05T20:43:31Z | Fast and minimal JSON parser and transformer that works on unstructured JSON. |
| yazgazan/jaydiff | 111 | 9 | 2026-07-06T10:36:48Z | JSON diff utility written in Go. |
| nicklaw5/go-respond | 55 | 9 | 2026-06-15T06:17:30Z | Go package for handling common HTTP JSON responses. |
| sanbornm/mp | 47 | 8 | 2023-10-15T19:50:38Z | Simple cli email parser. It currently takes stdin and outputs JSON. |
| mickep76/mapslice-json | 20 | 8 | 2024-10-22T02:39:05Z | Go MapSlice for ordered marshal/ unmarshal of maps in JSON. |
| romshark/jscan | 101 | 7 | 2026-07-28T23:19:49Z | High performance zero-allocation JSON iterator. |
| RichardKnop/jsonhal | 13 | 6 | 2025-10-15T18:44:59Z | Simple Go package to make custom structs marshal into HAL compatible JSON responses. |
| neilotoole/jsoncolor | 54 | 6 | 2026-07-06T09:13:21Z | Drop-in replacement for encoding/json that outputs colorized JSON. |
| cocoonspace/dynjson | 16 | 6 | 2023-09-26T22:57:53Z | Client-customizable JSON formats for dynamic APIs. |
| simonnilsson/ask | 58 | 4 | 2026-07-19T14:28:46Z | Easy access to nested values in maps and slices. Works in combination with encoding/json and other packages that "Unmarshal" arbitrary data into Go data-types. |
| miladibra10/vjson | 41 | 4 | 2026-01-06T00:34:53Z | Go package for validating JSON objects with declaring a JSON schema with fluent API. |
| vtopc/epoch | 17 | 3 | 2025-11-14T01:24:51Z | Contains primitives for marshaling/unmarshalling Unix timestamp/epoch to/from build-in time.Time type in JSON. |
| AmuzaTkts/jsonapi-errors | 13 | 3 | 2024-12-29T23:08:18Z | Go bindings based on the JSON API errors reference. |
| ddymko/go-jsonerror | 16 | 2 | 2024-09-26T15:08:01Z | Go-JsonError is meant to allow us to easily create json response errors that follow the JsonApi spec. |
| GenshIv/silentjson | 63 | 2 | 2026-07-24T08:24:54Z | Zero-allocation JSON boundary scanner and splitter utilizing AVX2 SIMD instructions. |
| sinhashubham95/jsonic | 11 | 2 | 2023-12-26T18:23:37Z | Utilities to handle and query JSON without defining structs in a type safe manner. |
| zerosnake0/jzon | 11 | 2 | 2024-07-22T16:18:21Z | JSON library with standard compatible API/behavior. |
| lucassscaravelli/ej | 10 | 2 | 2023-09-26T22:57:59Z | Write and read JSON from different sources succinctly. |
| dedalqq/omg.jsonparser | 6 | 2 | 2024-07-06T20:40:39Z | Simple JSON parser with validation by condition via golang struct fields tags. |
| limiu82214/gojmapr | 22 | 1 | 2024-01-12T02:17:32Z | Get simple struct from complex json by json path. |
| nikolaydubina/htmljson | 10 | 0 | 2026-08-02T09:07:30Z | Rich rendering of JSON as HTML in Go. |
| abusomani/jsonhandlers | 2 | 0 | 2023-09-26T23:00:40Z | JSON library to expose simple handlers that lets you easily read and write json from various sources. |
| Repository | Stars | Forks | Last Updated | Description |
|---|---|---|---|---|
| tidwall/gjson | 16k | 907 | 2026-08-05T23:26:48Z | Get a JSON value with one line of code. |
| ohler55/ojg | 954 | 55 | 2026-08-02T17:42:08Z | Optimized JSON for Go is a high performance parser with a variety of additional JSON tools including JSONPath. |
| nikolaydubina/htmljson | 10 | 0 | 2026-08-02T09:07:30Z | Rich rendering of JSON as HTML in Go. |
| wI2L/jsondiff | 632 | 44 | 2026-07-31T03:07:23Z | JSON diff library for Go based on RFC6902 (JSON Patch). |
| Jeffail/gabs | 4k | 201 | 2026-07-30T12:15:42Z | For parsing, creating and editing unknown or dynamic JSON in Go. |
| valyala/fastjson | 2k | 158 | 2026-07-30T05:57:44Z | Fast JSON parser and validator for Go. No custom structs, no code generation, no reflection. |
| tidwall/sjson | 3k | 184 | 2026-07-29T17:35:45Z | Set a JSON value with one line of code. |
| romshark/jscan | 101 | 7 | 2026-07-28T23:19:49Z | High performance zero-allocation JSON iterator. |
| spyzhov/ajson | 290 | 25 | 2026-07-24T12:43:53Z | Abstract JSON for golang with JSONPath support. |
| GenshIv/silentjson | 63 | 2 | 2026-07-24T08:24:54Z | Zero-allocation JSON boundary scanner and splitter utilizing AVX2 SIMD instructions. |
| simonnilsson/ask | 58 | 4 | 2026-07-19T14:28:46Z | Easy access to nested values in maps and slices. Works in combination with encoding/json and other packages that "Unmarshal" arbitrary data into Go data-types. |
| ChimeraCoder/gojson | 3k | 205 | 2026-07-12T16:38:30Z | Automatically generate Go (golang) struct definitions from example JSON. |
| yazgazan/jaydiff | 111 | 9 | 2026-07-06T10:36:48Z | JSON diff utility written in Go. |
| neilotoole/jsoncolor | 54 | 6 | 2026-07-06T09:13:21Z | Drop-in replacement for encoding/json that outputs colorized JSON. |
| m-zajac/json2go | 142 | 20 | 2026-07-06T08:53:46Z | Advanced JSON to Go struct conversion. Provides package that can parse multiple JSON documents and create struct to fit them all. |
| Andrew-M-C/go.jsonvalue | 203 | 18 | 2026-07-06T07:11:44Z | A fast and convenient library for unstructured JSON data, replacing encoding/json. |
| PerimeterX/marshmallow | 391 | 12 | 2026-06-29T20:42:21Z | Performant JSON unmarshalling for flexible use cases. |
| elgs/gojq | 191 | 23 | 2026-06-23T19:09:23Z | JSON query in Golang. |
| Qntfy/kazaam | 293 | 52 | 2026-06-15T06:58:45Z | API for arbitrary transformation of JSON documents. |
| nicklaw5/go-respond | 55 | 9 | 2026-06-15T06:17:30Z | Go package for handling common HTTP JSON responses. |
| olvrng/ujson | 85 | 9 | 2026-04-05T20:43:31Z | Fast and minimal JSON parser and transformer that works on unstructured JSON. |
| miolini/jsonf | 64 | 10 | 2026-02-16T12:41:30Z | Console tool for highlighted formatting and struct query fetching JSON. |
| skanehira/gjo | 132 | 13 | 2026-01-09T12:46:09Z | Small utility to create JSON objects. |
| miladibra10/vjson | 41 | 4 | 2026-01-06T00:34:53Z | Go package for validating JSON objects with declaring a JSON schema with fluent API. |
| vtopc/epoch | 17 | 3 | 2025-11-14T01:24:51Z | Contains primitives for marshaling/unmarshalling Unix timestamp/epoch to/from build-in time.Time type in JSON. |
| RichardKnop/jsonhal | 13 | 6 | 2025-10-15T18:44:59Z | Simple Go package to make custom structs marshal into HAL compatible JSON responses. |
| wI2L/jettison | 180 | 13 | 2025-09-04T09:00:44Z | Fast and flexible JSON encoder for Go. |
| ricardolonga/jsongo | 108 | 15 | 2025-01-18T05:01:48Z | Fluent API to make it easier to create Json objects. |
| AmuzaTkts/jsonapi-errors | 13 | 3 | 2024-12-29T23:08:18Z | Go bindings based on the JSON API errors reference. |
| mickep76/mapslice-json | 20 | 8 | 2024-10-22T02:39:05Z | Go MapSlice for ordered marshal/ unmarshal of maps in JSON. |
| ddymko/go-jsonerror | 16 | 2 | 2024-09-26T15:08:01Z | Go-JsonError is meant to allow us to easily create json response errors that follow the JsonApi spec. |
| zerosnake0/jzon | 11 | 2 | 2024-07-22T16:18:21Z | JSON library with standard compatible API/behavior. |
| dedalqq/omg.jsonparser | 6 | 2 | 2024-07-06T20:40:39Z | Simple JSON parser with validation by condition via golang struct fields tags. |
| limiu82214/gojmapr | 22 | 1 | 2024-01-12T02:17:32Z | Get simple struct from complex json by json path. |
| sinhashubham95/jsonic | 11 | 2 | 2023-12-26T18:23:37Z | Utilities to handle and query JSON without defining structs in a type safe manner. |
| sanbornm/mp | 47 | 8 | 2023-10-15T19:50:38Z | Simple cli email parser. It currently takes stdin and outputs JSON. |
| abusomani/jsonhandlers | 2 | 0 | 2023-09-26T23:00:40Z | JSON library to expose simple handlers that lets you easily read and write json from various sources. |
| lucassscaravelli/ej | 10 | 2 | 2023-09-26T22:57:59Z | Write and read JSON from different sources succinctly. |
| cocoonspace/dynjson | 16 | 6 | 2023-09-26T22:57:53Z | Client-customizable JSON formats for dynamic APIs. |