Struct handlebars::ContextJson [] [src]

pub struct ContextJson {
    // some fields omitted
}

Json wrapper that holds the Json value and reference path information

Methods

impl ContextJson
[src]

fn path(&self) -> Option<&String>

Returns relative path when the value is referenced If the value is from a literal, the path is None

fn value(&self) -> &Json

Returns the value

Trait Implementations

impl Debug for ContextJson
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.