github.com/json-iterator/go

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.

60

Decision Signals

Health score 60/100, confidence 80/100.

Review
Maintenance 15
Adoption 79
Security 92
Maturity 62
Developer DX 83
Confidence 80

Install

go get github.com/json-iterator/go

Package Data

updated May 31, 2026
Latest versionv1.1.12
Imported by17.7K packages
Stars0
Forks0
Last activity4 years ago
Latest releaseUnknown
LicenseUnknown
Known vuln records0

API Surface

248 symbols
SymbolKindSynopsis
API Type type API interface{ ... }
API.DecoderOf Method DecoderOf func(typ reflect2.Type) ValDecoder
API.EncoderOf Method EncoderOf func(typ reflect2.Type) ValEncoder
API.Get Method Get func(data []byte, path ...interface{}) Any
API.Marshal Method Marshal func(v interface{}) ([]byte, error)
API.MarshalIndent Method MarshalIndent func(v interface{}, prefix, indent string) ([]byte, error)
API.MarshalToString Method MarshalToString func(v interface{}) (string, error)
API.NewDecoder Method NewDecoder func(reader io.Reader) *Decoder
API.NewEncoder Method NewEncoder func(writer io.Writer) *Encoder
API.RegisterExtension Method RegisterExtension func(extension Extension)
API.Unmarshal Method Unmarshal func(data []byte, v interface{}) error
API.UnmarshalFromString Method UnmarshalFromString func(str string, v interface{}) error

Maintained Alternatives

limited recent repository activity

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

Package gjson provides searching for json strings.

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

Similar Packages

Go JSON Libraries

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

Package gjson provides searching for json strings.

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

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

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