Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
projectdiscovery
GitHub Repository: projectdiscovery/nuclei
Path: blob/dev/pkg/utils/json/json_fallback.go
2070 views
1
//go:build !(linux || darwin || windows) || !(amd64 || arm64)
2
// +build !linux,!darwin,!windows !amd64,!arm64
3
4
package json
5
6
import "github.com/goccy/go-json"
7
8
// Exported functions from the [json] package.
9
var (
10
Marshal = json.Marshal
11
Unmarshal = json.Unmarshal
12
MarshalIndent = json.MarshalIndent
13
NewDecoder = json.NewDecoder
14
NewEncoder = json.NewEncoder
15
)
16
17
// Encoder is a JSON encoder.
18
type Encoder = json.Encoder
19
20
// Decoder is a JSON decoder.
21
type Decoder = json.Decoder
22
23