Enum jlens::JsonPath [] [src]

pub enum JsonPath<'a: 'b, 'b> {
    Root(&'a Json),
    Descendant(&'a Json, &'b JsonPath<'a, 'b>),
}

JSON node path

Represents a path to a JSON node.

Variants

At the root node

At a node with the given parent path

Trait Implementations

impl<'a: 'b, 'b> Clone for JsonPath<'a, 'b>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a: 'b, 'b> Copy for JsonPath<'a, 'b>
[src]