1#ifndef TENDUKE_JSON_NJ_NJELEMENT_H
2#define TENDUKE_JSON_NJ_NJELEMENT_H
4#include "json/JSONElement.h"
6#include "nlohmann/json.hpp"
18 std::string
asJSON()
const override;
19 std::string
asString()
const override;
Superclass of JSON elements.
Definition JSONElement.h:12
Type
Type of the element.
Definition JSONElement.h:17
std::string asJSON() const override
Serializes the element as JSON.
Definition SimpleJSONElement.cpp:14
::tenduke::json::JSONElement::Type getType() const override
Returns type of this element.
Definition SimpleJSONElement.cpp:8
std::string asString() const override
Gets the value of the element as a string.
Definition SimpleJSONElement.cpp:26
JSON support.
Definition JSONArray.h:10
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4