1
0
mirror of https://github.com/json-iterator/go.git synced 2025-06-12 22:47:42 +02:00

suport encode map[interface{}]interface{}

This commit is contained in:
Tao Wen
2018-03-15 21:28:16 +08:00
parent 39acec93e0
commit ca39e5af3e
8 changed files with 46 additions and 15 deletions

View File

@ -2,12 +2,12 @@ package jsoniter
import (
"encoding/json"
"github.com/modern-go/concurrent"
"github.com/modern-go/reflect2"
"io"
"reflect"
"sync"
"unsafe"
"github.com/modern-go/concurrent"
"reflect"
)
// Config customize how the API should behave.
@ -63,7 +63,6 @@ var ConfigFastest = Config{
ObjectFieldMustBeSimpleString: true, // do not unescape object field
}.Froze()
type frozenConfig struct {
configBeforeFrozen Config
sortMapKeys bool