JSON

Libraries for working with JSON.

GJSON14.6K

Get a JSON value with one line of code.

gabs3.5K

For parsing, creating and editing unknown or dynamic JSON in Go.

gojson2.7K

Automatically generate Go (golang) struct definitions from example JSON.

fastjson2.3K

Fast JSON parser and validator for Go. No custom structs, no code generation, no reflection.

OjG870

Optimized JSON for Go is a high performance parser with a variety of additional JSON tools including JSONPath.

jsondiff536

JSON diff library for Go based on RFC6902 (JSON Patch).

marshmallow377

Performant JSON unmarshalling for flexible use cases.

kazaam283

API for arbitrary transformation of JSON documents.

ajson251

Abstract JSON for golang with JSONPath support.

gojq191

JSON query in Golang.

jsonvalue191

A fast and convenient library for unstructured JSON data, replacing encoding/json.

jettison177

Fast and flexible JSON encoder for Go.

json2go133

Advanced JSON to Go struct conversion. Provides package that can parse multiple JSON documents and create struct to fit them all.

gjo128

Small utility to create JSON objects.

jsongo109

Fluent API to make it easier to create Json objects.

JayDiff105

JSON diff utility written in Go.

jscan90

High performance zero-allocation JSON iterator.

ujson82

Fast and minimal JSON parser and transformer that works on unstructured JSON.

jsonf65

Console tool for highlighted formatting and struct query fetching JSON.

go-respond55

Go package for handling common HTTP JSON responses.

ask49

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.

mp47

Simple cli email parser. It currently takes stdin and outputs JSON.

jsoncolor46

Drop-in replacement for encoding/json that outputs colorized JSON.

vjson41

Go package for validating JSON objects with declaring a JSON schema with fluent API.

gojmapr22

Get simple struct from complex json by json path.

mapslice-json20

Go MapSlice for ordered marshal/ unmarshal of maps in JSON.

dynjson16

Client-customizable JSON formats for dynamic APIs.

go-jsonerror16

Go-JsonError is meant to allow us to easily create json response errors that follow the JsonApi spec.

epoch14

Contains primitives for marshaling/unmarshalling Unix timestamp/epoch to/from build-in time.Time type in JSON.

jsonhal14

Simple Go package to make custom structs marshal into HAL compatible JSON responses.

jsonapi-errors13

Go bindings based on the JSON API errors reference.

jsonic11

Utilities to handle and query JSON without defining structs in a type safe manner.

jzon11

JSON library with standard compatible API/behavior.

ej10

Write and read JSON from different sources succinctly.

htmljson7

Rich rendering of JSON as HTML in Go.

omg.jsonparser6

Simple JSON parser with validation by condition via golang struct fields tags.

jsonhandlers2

JSON library to expose simple handlers that lets you easily read and write json from various sources.