| JsonCpp project page | JsonCpp home page | 
Experimental and untested: represents a "path" to access a node. More...
#include <json/value.h>
 Collaboration diagram for Json::Path:
 Collaboration diagram for Json::Path:| Public Member Functions | |
| Path (const std::string &path, const PathArgument &a1=PathArgument(), const PathArgument &a2=PathArgument(), const PathArgument &a3=PathArgument(), const PathArgument &a4=PathArgument(), const PathArgument &a5=PathArgument()) | |
| const Value & | resolve (const Value &root) const | 
| Value | resolve (const Value &root, const Value &defaultValue) const | 
| Value & | make (Value &root) const | 
| Creates the "path" to access the specified node and returns a reference on the node.  More... | |
Experimental and untested: represents a "path" to access a node.
Syntax:
| Json::Path::Path | ( | const std::string & | path, | 
| const PathArgument & | a1 = PathArgument(), | ||
| const PathArgument & | a2 = PathArgument(), | ||
| const PathArgument & | a3 = PathArgument(), | ||
| const PathArgument & | a4 = PathArgument(), | ||
| const PathArgument & | a5 = PathArgument() | ||
| ) | 
Definition at line 1502 of file json_value.cpp.
References JSONCPP_STRING.
Creates the "path" to access the specified node and returns a reference on the node.
Definition at line 1611 of file json_value.cpp.
References Json::Value::isArray(), and Json::Value::isObject().
Definition at line 1566 of file json_value.cpp.
References Json::Value::isArray(), Json::Value::isObject(), Json::Value::isValidIndex(), Json::Value::null, and Json::Value::nullSingleton().
Definition at line 1592 of file json_value.cpp.
References Json::Value::isArray(), Json::Value::isObject(), Json::Value::isValidIndex(), and Json::Value::nullSingleton().