1#ifndef TENDUKE_JSON_CJSONSTRING_H
2#define TENDUKE_JSON_CJSONSTRING_H
4#include "./CJsonElement.h"
5#include "json/JSONString.h"
29 std::string
getValue()
const override {
return value;}
Superclass of JSON elements.
Definition JSONElement.h:12
Type
Type of the element.
Definition JSONElement.h:17
JSON string element.
Definition JSONString.h:14
cJSON-implementation of tenduke::json::JSONElement.
Definition CJsonElement.h:14
cJSON * element
Pointer to the cJSON element.
Definition CJsonElement.h:62
cJSON-implementation of tenduke::json::JSONString.
Definition CJsonString.h:13
std::string asString() const override
Returns string representation of this element.
Definition CJsonString.h:25
std::string getValue() const override
Returns the value of this string.
Definition CJsonString.h:29
CjsonString(std::string value, cJSON *element)
Constructs new instance.
Definition CJsonString.h:20
Implementation of JSON service interfaces using cJSON.
Definition CJsonArray.h:10
JSON support.
Definition JSONArray.h:10
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4