github.com/wfusion/gofusion@v1.1.14/common/utils/serialize/json/go_json.go (about) 1 // Fork from github.com/gin-gonic/gin/internal/json@v1.9.1 2 3 // Copyright 2017 Bo-Yi Wu. All rights reserved. 4 // Use of this source code is governed by a MIT style 5 // license that can be found in the LICENSE file. 6 7 //go:build go_json 8 9 package json 10 11 import json "github.com/goccy/go-json" 12 13 var ( 14 // Marshal is exported by gin/json package. 15 Marshal = json.Marshal 16 // Unmarshal is exported by gin/json package. 17 Unmarshal = json.Unmarshal 18 // MarshalIndent is exported by gin/json package. 19 MarshalIndent = json.MarshalIndent 20 // NewDecoder is exported by gin/json package. 21 NewDecoder = json.NewDecoder 22 // NewEncoder is exported by gin/json package. 23 NewEncoder = json.NewEncoder 24 )