Documentation
¶
Overview ¶
Package jsoncatcher compares re-emitted, parsed JSON data with its raw counterpart to find fields which have not been correctly parsed.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CatchOptions ¶
type CatchOptions struct {
// Optional func, should return true if a mismatching key should be skipped
// (as it is parsed otherwise).
Skip func(key []byte) bool
// Catch will write to Missed JSON objects containing the raw unparsed
// object, and the fields it didn't parse, in a JSON stream (ie. one per line).
Missed io.Writer
}
CatchOptions contains options to modify the behaviour of Catch.
Click to show internal directories.
Click to hide internal directories.