Type Definition sljs::value::JSON

source · []
pub type JSON = Value;

Trait Implementations

Location of the node where an error happened.

Try to get source mapping for self.

Use the node as a literal.

Get a child node with this name; if it does not exist, return None. Then transform it through action, propagating its Result out. A child node exis Read more

Get the boolean value of a child node with name property. It’s a ParseError if it does not exist or does not have a boolean meaning. Read more

Get the string value of a child node with name property. It’s a ParseError if it does not exist or does not have a string meaning. Read more

Map the array of children of a child node with name property. It’s a ParseError if it does not exist or does not have an array meaning. Read more

Check that the value of property is a string equal to value. Depends on SourceNode::get_str. Read more