json.go (681B)
1 // Copyright 2017 Bo-Yi Wu. All rights reserved. 2 // Use of this source code is governed by a MIT style 3 // license that can be found in the LICENSE file. 4 5 //go:build !jsoniter && !go_json && !(sonic && avx && (linux || windows || darwin) && amd64) 6 7 package json 8 9 import "encoding/json" 10 11 var ( 12 // Marshal is exported by gin/json package. 13 Marshal = json.Marshal 14 // Unmarshal is exported by gin/json package. 15 Unmarshal = json.Unmarshal 16 // MarshalIndent is exported by gin/json package. 17 MarshalIndent = json.MarshalIndent 18 // NewDecoder is exported by gin/json package. 19 NewDecoder = json.NewDecoder 20 // NewEncoder is exported by gin/json package. 21 NewEncoder = json.NewEncoder 22 )