MCPcopy
hub / github.com/inancgumus/learngo / JSONParser

Struct JSONParser

logparser/v6/logly/parse/json.go:19–23  ·  view source on GitHub ↗

JSONParser parses json records.

Source from the content-addressed store, hash-verified

17
18// JSONParser parses json records.
19type JSONParser struct {
20 in *json.Decoder
21 err error // last error
22 last *record.Record // last parsed record
23}
24
25// JSON creates a json parser.
26func JSON(r io.Reader) *JSONParser {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected