Class omnisci::JSON¶
-
class
JSON
¶ Public Functions
-
JSON
()¶
-
JSON
(const std::string &json)¶
-
JSON
(const char *json)¶
-
JSON
(const char *json, size_t len)¶
-
void
parse
(const std::string &json)¶
-
void
parse
(const char *json)¶
-
void
parse
(const char *json, size_t len)¶
-
std::string
stringify
() const¶
-
std::string
getType
() const¶
-
bool
isString
() const¶
-
bool
isNumber
() const¶
-
bool
isBoolean
() const¶
-
bool
isObject
() const¶
-
bool
isArray
() const¶
-
bool
isNull
() const¶
-
bool
hasMember
(const std::string &name) const¶
-
operator std::string
() const¶
-
operator bool
() const¶
-
template<typename
T
>operator T
() const¶
Private Functions
Private Members
-
std::shared_ptr<rapidjson::Document>
doc_
¶
-
rapidjson::Value *
vptr_
¶
-
rapidjson::Document::AllocatorType &
allo_
¶
-
const std::string
name_
¶
Private Static Attributes
-
std::string
kTypeNames
[] = {"Null", , , , , , }¶
-