Update jsoniter.go

add newencoder to fix compile error for -tags=jsoniter
This commit is contained in:
junfengye 2018-08-20 17:53:25 +08:00 committed by GitHub
parent c6110f970c
commit 58d197dadd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,4 +13,5 @@ var (
Marshal = json.Marshal
MarshalIndent = json.MarshalIndent
NewDecoder = json.NewDecoder
NewEncoder = json.NewEncoder
)