Debian Codegraph @

parsing/json/json.go

raw symbols SCIP
1 package json
2
3 import (
4 json "github.com/goccy/go-json"
5 "github.com/tomwright/dasel/v3/parsing"
6 )
7
8 const (
9 // JSON represents the JSON file format.
10 JSON parsing.Format = "json"
11
12 jsonOpenObject = json.Delim('{')
13 jsonCloseObject = json.Delim('}')
14 jsonOpenArray = json.Delim('[')
15 jsonCloseArray = json.Delim(']')
16 )
17
18 func init() {
19 parsing.RegisterReader(JSON, newJSONReader)
20 parsing.RegisterWriter(JSON, newJSONWriter)
21 }