#include <CJsonElement.h>
|
cJSON * | element |
| Pointer to the cJSON element.
|
|
|
enum | Type {
UNDEFINED
, NULLISH
, OBJECT
, ARRAY
,
NUMBER
, STRING
, BOOLEAN
} |
| Type of the element.
|
|
static std::string | typeToString (const enum Type type) |
| Converts the type to string.
|
|
◆ CjsonElement() [1/2]
Constructs new instance.
- Parameters
-
◆ CjsonElement() [2/2]
Constructs new instance.
- Parameters
-
◆ asString()
std::string tenduke::json::cjson::CjsonElement::asString |
( |
| ) |
const |
|
overridevirtual |
◆ getCjsonElement()
cJSON * tenduke::json::cjson::CjsonElement::getCjsonElement |
( |
| ) |
const |
|
inline |
Returns the pointer to cJSON-element.
TBD: Should this be removed?
- Returns
- -
◆ getType()
enum Type tenduke::json::cjson::CjsonElement::getType |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ setRoot()
void tenduke::json::cjson::CjsonElement::setRoot |
( |
bool |
p_root | ) |
|
|
inline |
Marks this node as root element.
- Parameters
-
The documentation for this class was generated from the following files:
- core/default-services/src/json/CJsonElement.h
- core/default-services/src/json/CJsonElement.cpp