feat: change json lib to jsoniter

A high-performance 100% compatible drop-in replacement of "encoding/json"

https://github.com/json-iterator/go

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu
2017-07-08 16:49:09 +08:00
parent c4249f923f
commit 12508320c2
5 changed files with 13 additions and 4 deletions

View File

@ -6,9 +6,10 @@ package gin
import (
"bytes"
"encoding/json"
"fmt"
"reflect"
json "github.com/json-iterator/go"
)
type ErrorType uint64