JsonView
struct JsonViewA view over a JSON value of unknown type.
Instance fields
Instance members
Parses this view as a bool, returning false for non-true views.
Parses this view as a double, returning zero for non-number views.
Parses this view as an int, returning zero for non-number views.
Returns the escaped contents of a string view without the surrounding quotes.
Iterates array elements, yielding nothing unless this view is an array.
Determines the value kind represented by this view.
Returns true when this view is the JSON false literal.
Returns true when this view is the JSON null literal.
Returns true when this view is the JSON true literal.
Iterates object properties, yielding nothing unless this view is an object.
Returns the trimmed source span for this value, or an empty span when invalid.
Generated with campc 0.11.0-preview.1.