Update jsoniter.go (#1500)

add newencoder to fix compile error for -tags=jsoniter
This commit is contained in:
junfengye 2018-08-20 18:25:45 +08:00 committed by 田欧
parent c6110f970c
commit 0ebd42d0a9
1 changed files with 1 additions and 0 deletions

View File

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