Struct handlebars::ContextJson
[−]
[src]
pub struct ContextJson { /* 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 path_root(&self) -> Option<&str>
Return root level of this path if any
fn value(&self) -> &Json
Returns the value