go_json.go (623B)
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 go_json 6 7 package json 8 9 import json "github.com/goccy/go-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 )