Automated ranking

Best Go JSON Libraries

Compare go json libraries by maintenance, adoption, security, release activity, and Go ecosystem usage. Top packages in this group include fastjson, go-json, jsoniter.

Best overall

fastjson

Highest combined package health score.

73
Best maintained

GJSON

Strongest maintenance signal in this category.

90
Most adopted

jsoniter

Highest adoption signal from stars, forks, and imported-by data.

79

Ranked Packages

7 packages

#1 fastjson

Package fastjson provides fast JSON parsing.

Go JSON Libraries 0 stars 895 imported-by 80% confidence
73

#2 go-json

Go JSON Libraries 0 stars 4.2K imported-by 75% confidence
67

#3 jsoniter

Package jsoniter implements encoding and decoding of JSON as defined in RFC 4627 and provides interfaces with identical syntax of standard lib encoding/json.

Go JSON Libraries 0 stars 17.7K imported-by 80% confidence
60

#4 GJSON

Package gjson provides searching for json strings.

Go JSON Libraries 0 stars 0 imported-by 60% confidence
59

#5 jsonhandlers

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

Go JSON Libraries 0 stars 0 imported-by 25% confidence
44

#6 codec

Package codec provides a High Performance, Feature-Rich Idiomatic Go codec/encoding library for binc, msgpack, cbor, json.

Go JSON Libraries 0 stars 0 imported-by 20% confidence
43

#7 bel

Generate TypeScript interfaces from Go structs/interfaces. Useful for JSON RPC.

Go JSON Libraries 0 stars 0 imported-by 60% confidence
36

Comparison Matrix

score dimensions
Package Health Maintenance Adoption Security Imported by
fastjson 73 75 57 92 895
go-json 67 63 62 92 4.2K
jsoniter 60 15 79 92 17.7K
GJSON 59 90 7 70 0
jsonhandlers 44 48 7 70 0
codec 43 48 5 70 0
bel 36 15 7 70 0

Related Comparisons

Go JSON Libraries

fastjson vs jsoniter

Compare health, maintenance, adoption, security, and release signals.

73