Expand description
Implementation of the JSONPath
spec, Proposal A with extensions.
Modules§
- ast
- Syntax tree that backs a path. If you just want to use paths, you shouldn’t touch this. This is exposed for users who want to provide things like syntax highlighting of paths or similar.
- error
- Errors returned by fallible methods
- idx
- Items related to shortest-path indexing of JSON objects
Structs§
- Json
Path - A compiled JSON path. Can be used to match against items any number of times, preventing recompilation of the same pattern many times.
Functions§
- find
- Find a pattern in the provided JSON value. Recompiles the pattern every call, if the same
pattern is used a lot should instead try using
JsonPath::compile
. - find_
str - Find a pattern in the provided JSON string. Recompiles the pattern every call, if the same
pattern is used a lot should instead try using
JsonPath::compile
.