Gin use encoding/json as default json package but you can change to jsoniter by build from other tags.
encoding/json
$ go build -tags=jsoniter .