jsonpath_
rust
0.7.5
Module path
Module Items
Structs
Enums
Traits
In crate jsonpath_
rust
jsonpath_rust
Module
path
Copy item path
Source
Structs
§
Array
Index
process the simple index like [index]
Array
Slice
process the slice like [start:end:step]
Current
process @ element
Object
Field
process object fields like [‘key’] or .key
Union
Index
the list of indexes like [1,2,3]
Enums
§
Filter
Path
process filter element like [?(op sign op)]
TopPaths
all known Paths, mostly to avoid a dynamic Box and vtable for internal function
Traits
§
Json
Like
The
JsonLike
trait defines a set of methods and associated types for working with JSON-like data structures.
Path
The trait defining the behaviour of processing every separated element. type Data usually stands for json [
Value
] The trait also requires to have a root json to process. It needs in case if in the filter there will be a pointer to the absolute path