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 GJSON, fastjson, jsoniter.

Best overall

GJSON

Highest combined package health score.

94
Best maintained

GJSON

Strongest maintenance signal in this category.

90
Most adopted

GJSON

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

100

Ranked Packages

7 packages

#1 GJSON

Package gjson provides searching for json strings.

Go JSON Libraries 15.5K stars 10.4K imported-by 100% confidence
94

#2 fastjson

Package fastjson provides fast JSON parsing.

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

#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 13.9K stars 0 imported-by 45% confidence
62

#4 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 55% confidence
50

#5 bel

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

Go JSON Libraries 0 stars 2 imported-by 80% confidence
44

#6 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 80% confidence
42

#7 go-json

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

Comparison Matrix

score dimensions
Package Health Maintenance Adoption Security Imported by
GJSON 94 90 100 92 10.4K
fastjson 73 75 57 92 895
jsoniter 62 12 100 70 0
codec 50 63 5 70 0
bel 44 15 15 92 2
jsonhandlers 42 15 7 92 0
go-json 41 48 5 70 0