Encoding
Build with json replacement
Gin uses encoding/json
as the default JSON package but you can change it by building from other tags.
go build -tags=go_json .
go build -tags=jsoniter .
sonic (you have to ensure that your cpu supports avx instruction.)
$ go build -tags="sonic avx" .