Skip to content

Commit

Permalink
Update jsoniter.go (#1500)
Browse files Browse the repository at this point in the history
add newencoder to fix compile error for -tags=jsoniter
  • Loading branch information
junfengye authored and thinkerou committed Aug 20, 2018
1 parent c6110f9 commit 0ebd42d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions json/jsoniter.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ var (
Marshal = json.Marshal
MarshalIndent = json.MarshalIndent
NewDecoder = json.NewDecoder
NewEncoder = json.NewEncoder
)

0 comments on commit 0ebd42d

Please sign in to comment.