Files
nuclei/pkg/utils/json/json_fallback.go
Mzack9999 c746a8fdae lint
2025-11-18 22:20:17 +04:00

21 lines
449 B
Go

//go:build !(linux || darwin || windows) || !(amd64 || arm64)
package json
import "github.com/goccy/go-json"
// Exported functions from the [json] package.
var (
Marshal = json.Marshal
Unmarshal = json.Unmarshal
MarshalIndent = json.MarshalIndent
NewDecoder = json.NewDecoder
NewEncoder = json.NewEncoder
)
// Encoder is a JSON encoder.
type Encoder = json.Encoder
// Decoder is a JSON decoder.
type Decoder = json.Decoder