#include <json.hxx>
Inherited by JSON::Array, JSON::Bool, JSON::Null, JSON::Number, JSON::Object, and JSON::String.
virtual JSON::Value::~Value |
( |
| ) |
|
|
pure virtual |
JSON::Value::Value |
( |
Type |
ty | ) |
|
|
inlineexplicitprotected |
const Array* JSON::Value::asArray |
( |
| ) |
const |
dynamic cast to JSON object
const Bool* JSON::Value::asBool |
( |
| ) |
const |
dynamic cast to JSON object
const Number* JSON::Value::asNumber |
( |
| ) |
const |
dynamic cast to JSON object
const Object* JSON::Value::asObject |
( |
| ) |
const |
dynamic cast to JSON object
const String* JSON::Value::asString |
( |
| ) |
const |
dynamic cast to JSON object
bool JSON::Value::isArray |
( |
| ) |
const |
|
inline |
return true if this value is an array
bool JSON::Value::isBool |
( |
| ) |
const |
|
inline |
return true if this value is a boolean
bool JSON::Value::isNull |
( |
| ) |
const |
|
inline |
return true if this value is the null value
bool JSON::Value::isNumber |
( |
| ) |
const |
|
inline |
return true if this value is a number
bool JSON::Value::isObject |
( |
| ) |
const |
|
inline |
return true if this value is an object
bool JSON::Value::isString |
( |
| ) |
const |
|
inline |
return true if this value is a string
virtual std::string JSON::Value::toString |
( |
| ) |
|
|
pure virtual |
Type JSON::Value::type |
( |
| ) |
const |
|
inline |
return the type of this JSON value
The documentation for this class was generated from the following file:
- /Users/jhr/Classes/23700/f2015/code/common/include/json.hxx