MCPcopy
hub / github.com/netdata/netdata / JSONParser

Struct JSONParser

src/go/plugin/go.d/pkg/logs/json.go:18–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18type JSONParser struct {
19 reader *bufio.Reader
20 parser fastjson.Parser
21 buf []byte
22 mapping map[string]string
23}
24
25func NewJSONParser(config JSONConfig, in io.Reader) (*JSONParser, error) {
26 parser := &JSONParser{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected