This repository is a fork of json-iterator/go because the original repository has not been maintained since 2021.
A high-performance almost compatible drop-in replacement of "encoding/json"
almost compatibility with standard lib
Replace
import "encoding/json"
json.Marshal(&data)
with
import jsoniter "github.com/tsuperis3112/jsoniter-go"
var json = jsoniter.ConfigCompatibleWithStandardLibrary
json.Marshal(&data)
Replace
import "encoding/json"
json.Unmarshal(input, &data)
with
import jsoniter "github.com/tsuperis3112/jsoniter-go"
var json = jsoniter.ConfigCompatibleWithStandardLibrary
json.Unmarshal(input, &data)
go get -u github.com/tsuperis3112/jsoniter-go@latest
Contributors
Report issue or pull request.