[][src]Module json_digest::json_path

Utility functions to specify subtrees in a JSON document. Path pattern syntax is based on JQ patterns, see https://stedolan.github.io/jq/manual/#Basicfilters

Functions

match_single

Checks if a single path exists in the provided value. Assumes no whitespaces and no alternate paths in parameter.

matches

Checks if any of the paths exist in the provided value.

split_alternatives

Splits a pattern into multiple paths

split_head_tail

Splits the first key from the rest of the keys in a path