JsonCpp project page | JsonCpp home page |
#include <json/value.h>
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. |
Syntax:
Definition at line 537 of file value.h.
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() | |||
) |
Creates the "path" to access the specified node and returns a reference on the node.
Definition at line 1802 of file json_value.cpp.
References Json::Value::isArray(), and Json::Value::isObject().
Definition at line 1775 of file json_value.cpp.
References Json::Value::isArray(), Json::Value::isObject(), Json::Value::isValidIndex(), and Json::Value::null.
Definition at line 1743 of file json_value.cpp.
References Json::Value::isArray(), Json::Value::isObject(), Json::Value::isValidIndex(), and Json::Value::null.
hosts this site. |
Send comments to: Json-cpp Developers |