|
|
@@ -1,12 +1,14 @@
|
|
|
package json
|
|
|
|
|
|
import (
|
|
|
- "encoding/json"
|
|
|
+ "encoding/json"
|
|
|
|
|
|
- jsoniter "github.com/json-iterator/go"
|
|
|
+ jsoniter "github.com/json-iterator/go"
|
|
|
)
|
|
|
|
|
|
var Marshal = jsoniter.ConfigCompatibleWithStandardLibrary.Marshal
|
|
|
var Unmarshal = jsoniter.ConfigCompatibleWithStandardLibrary.Unmarshal
|
|
|
+
|
|
|
type Marshaler json.Marshaler
|
|
|
+
|
|
|
var NewDecoder = json.NewDecoder
|