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

Best overall

go-json

Highest combined package health score.

89
Best maintained

go-json

Strongest maintenance signal in this category.

88
Most adopted

go-json

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

100

Ranked Packages

7 packages

#1 go-json

Fast JSON encoder/decoder compatible with encoding/json for Go

Go JSON Libraries 3.7K stars 4.2K imported-by 60% confidence
89

#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 17.7K imported-by 100% confidence
71

#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 9.9K imported-by 65% confidence
68

#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 go-starter

An opinionated production-ready RESTful JSON backend template, highly integrated with VSCode DevContainers.

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

#7 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

Comparison Matrix

score dimensions
Package Health Maintenance Adoption Security Imported by
go-json 89 88 100 92 4.2K
fastjson 73 75 57 92 895
jsoniter 71 12 100 92 17.7K
codec 68 63 68 70 9.9K
bel 44 15 15 92 2
go-starter 44 48 7 70 0
jsonhandlers 42 15 7 92 0

Related Comparisons

Go JSON Libraries

jsoniter vs fastjson

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

73