Struct json_pointer::JsonPointer [] [src]

pub struct JsonPointer<S: AsRef<str>, C: AsRef<[S]>> { /* fields omitted */ }

A JSON Pointer.

Create a new JSON pointer with JsonPointer::new, or parse one from a string with str::parse().

Methods

impl<S: AsRef<str>, C: AsRef<[S]>> JsonPointer<S, C>
[src]

Creates a new JsonPointer from the given reference tokens.

Attempts to get a reference to a value from the given JSON value, returning an error if it can't be found.

Attempts to get a mutable reference to a value from the given JSON value, returning an error if it can't be found.

Attempts to get an owned value from the given JSON value, returning an error if it can't be found.

Trait Implementations

impl<S: AsRef<str>, C: AsRef<[S]>> Display for JsonPointer<S, C>
[src]

Formats the value using the given formatter. Read more

impl FromStr for JsonPointer<String, Vec<String>>
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more