Crate snitch_gjson

Source

Modules§

tools
Additional tools for working with JSON data.

Structs§

GJSONError
Value
Value is the JSON value returned from the get function.

Enums§

Kind
The kind of json Value.

Functions§

get
Searches json for the specified path. A path is in dot syntax, such as “name.last” or “age”. When the value is found it’s returned immediately.
get_bytes
Searches json for the specified path. Works the same as get except that the input json is a a byte slice instead of a string.
parse
Parse the json and return it as a value.
set_overwrite
valid
Returns true if the input is valid json.