GJSONby tidwall
Get a JSON value with one line of code.
github.com/tidwall/gjsonGo 1.23+ 2 dependenciesupdated 29d ago
40 projects
The standard encoding/json package handles most JSON work by mapping documents to structs with tags. This category collects tools for what it does less well: reading single values without defining types, editing dynamic documents, parsing with fewer allocations, diffing and patching, and generating Go structs from sample JSON. Go 1.25 also added an experimental encoding/json/v2, enabled with GOEXPERIMENT=jsonv2, which is worth watching.
GJSONby tidwall
Get a JSON value with one line of code.
github.com/tidwall/gjsonGo 1.23+ 2 dependenciesupdated 29d ago
gabsby Jeffail
For parsing, creating and editing unknown or dynamic JSON in Go.
github.com/Jeffail/gabs/v2Go 1.16+ No dependencies updated 2y ago
SJSONby tidwall
Set a JSON value with one line of code.
github.com/tidwall/sjsonGo 1.14+ 2 dependenciesupdated 5mo ago
gojsonby ChimeraCoder
Automatically generate Go (golang) struct definitions from example JSON.
updated 5y ago
fastjsonby valyala
Fast JSON parser and validator for Go. No custom structs, no code generation, no reflection.
github.com/valyala/fastjsonGo 1.24+ No dependencies updated 8mo ago
OjGby ohler55
Optimized JSON for Go is a high performance parser with a variety of additional JSON tools including JSONPath.
github.com/ohler55/ojgGo 1.18+ No dependencies v1.28.9updated today
jsondiffby wI2L
JSON diff library for Go based on RFC6902 (JSON Patch).
github.com/wI2L/jsondiffGo 1.24+ 2 dependenciesv0.7.1updated 3mo ago
ajsonby spyzhov
Abstract JSON for golang with JSONPath support.
github.com/spyzhov/ajsonGo 1.16+ No dependencies v0.9.6updated 1y ago
kazaamby Qntfy
API for arbitrary transformation of JSON documents.
github.com/qntfy/kazaam/v4Go 1.12+ 2 dependenciesv4.0.1updated 4y ago
jsonvalueby Andrew-M-C
A fast and convenient library for unstructured JSON data, replacing encoding/json.
github.com/Andrew-M-C/go.jsonvalueGo 1.13+ 2 dependenciesv1.4.3updated 2mo ago
jettisonby wI2L
Fast and flexible JSON encoder for Go.
github.com/wI2L/jettisonGo 1.18+ 2 dependenciesv0.7.4updated 3y ago
json2goby m-zajac
Advanced JSON to Go struct conversion. Provides package that can parse multiple JSON documents and create struct to fit them all.
github.com/m-zajac/json2goGo 1.24+ 4 dependenciesv1.2.3updated 7mo ago
gjoby skanehira
Small utility to create JSON objects.
github.com/skanehira/gjoGo 1.12+ No dependencies 1.0.2updated 5y ago
JayDiffby yazgazan
JSON diff utility written in Go.
github.com/yazgazan/jaydiffGo 1.10+ 5 dependenciesv0.3.1updated 6mo ago
jscanby romshark
High performance zero-allocation JSON iterator.
github.com/romshark/jscan/v2Go 1.21+ 1 dependencyv2.0.2updated 3mo ago
ujsonby olvrng
Fast and minimal JSON parser and transformer that works on unstructured JSON.
github.com/iOliverNguyen/ujsonGo 1.19+ No dependencies v1.2.0updated 1y ago
jsonfby miolini
Console tool for highlighted formatting and struct query fetching JSON.
updated 5y ago
silentjsonby GenshIv
Zero-allocation JSON boundary scanner and splitter utilizing AVX2 SIMD instructions.
github.com/GenshIv/silentjson/v2Go 1.26+ 10 dependenciesv2.1.3updated 1d ago
askby simonnilsson
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.
github.com/simonnilsson/askGo 1.17+ No dependencies v0.5.0updated 4mo ago
jsoncolorby neilotoole
Drop-in replacement for encoding/json that outputs colorized JSON.
github.com/neilotoole/jsoncolorGo 1.25+ 7 dependenciesupdated 20d ago
vjsonby miladibra10
Go package for validating JSON objects with declaring a JSON schema with fluent API.
github.com/miladibra10/vjsonGo 1.17+ 5 dependenciesv0.4.0updated 1y ago
gojmaprby limiu82214
Get simple struct from complex json by json path.
github.com/limiu82214/gojmaprGo 1.19+ 3 dependenciesupdated 3y ago
mapslice-jsonby mickep76
Go MapSlice for ordered marshal/ unmarshal of maps in JSON.
github.com/ake-persson/mapslice-jsonGo 1.16+ No dependencies updated 2y ago
epochby vtopc
Contains primitives for marshaling/unmarshalling Unix timestamp/epoch to/from build-in time.Time type in JSON.
github.com/vtopc/epochGo 1.21+ 1 dependencyv1.6.0updated 2y ago
dynjsonby cocoonspace
Client-customizable JSON formats for dynamic APIs.
github.com/cocoonspace/dynjsonGo 1.16+ No dependencies v1.0.4updated 3y ago
go-jsonerrorby ddymko
Go-JsonError is meant to allow us to easily create json response errors that follow the JsonApi spec.
github.com/ddymko/go-jsonerrorGo 1.13+ No dependencies v0.1.2updated 7y ago
jsonhalby RichardKnop
Simple Go package to make custom structs marshal into HAL compatible JSON responses.
github.com/RichardKnop/jsonhal2 dependenciesupdated 6y ago
jsonicby sinhashubham95
Utilities to handle and query JSON without defining structs in a type safe manner.
github.com/sinhashubham95/jsonicGo 1.15+ 1 dependencyv1.1.0updated 5y ago
jzonby zerosnake0
JSON library with standard compatible API/behavior.
github.com/zerosnake0/jzonGo 1.15+ 1 dependencyv0.0.7updated 2y ago
ejby lucassscaravelli
Write and read JSON from different sources succinctly.
github.com/lucassscaravelli/ejGo 1.12+ 1 dependencyv1.1.1updated 6y ago
htmljsonby nikolaydubina
Rich rendering of JSON as HTML in Go.
github.com/nikolaydubina/htmljsonGo 1.20+ No dependencies v1.1.1updated 3mo ago
omg.jsonparserby dedalqq
Simple JSON parser with validation by condition via golang struct fields tags.
github.com/dedalqq/omg.jsonparserGo 1.16+ No dependencies v1.1.0updated 5y ago
jsonhandlersby abusomani
JSON library to expose simple handlers that lets you easily read and write json from various sources.
github.com/abusomani/jsonhandlersGo 1.20+ 1 dependencyv1.1.0updated 3y ago