Files
nuclei/pkg/utils/json/json_fallback.go
Dwi Siswanto dd8946d3f2 chore: satisfy lints
Signed-off-by: Dwi Siswanto <git@dw1.io>
2025-10-30 09:41:01 +07: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