|
10Duke Enterprise C++ Client
|
Public Member Functions | |
| SimpleJSONNumber (double value) | |
| double | getValue () const override |
| Returns the value. | |
| std::string | asJSON () const override |
| Serializes the element as JSON. | |
Public Member Functions inherited from tenduke::json::JSONElement | |
| bool | isArray () const |
| Utility to check if this element is JSONArray. | |
| bool | isBoolean () const |
| Utility to check if this element is JSONBoolean. | |
| bool | isNull () const |
| Utility to check if this element is null. | |
| bool | isNumber () const |
| Utility to check if this element is JSONNumber. | |
| bool | isObject () const |
| Utility to check if this element is JSONObject. | |
| bool | isString () const |
| Utility to check if this element is JSONString. | |
| bool | isUndefined () const |
| Utility to check if this element is undefined. | |
Public Member Functions inherited from tenduke::json::SimpleJSONElement | |
| SimpleJSONElement (::tenduke::json::JSONElement::Type type) | |
| std::string | asString () const override |
| Gets the value of the element as a string. | |
| ::tenduke::json::JSONElement::Type | getType () const override |
| Returns type of this element. | |
Additional Inherited Members | |
Public Types inherited from tenduke::json::JSONElement | |
| enum | Type { UNDEFINED , NULLISH , OBJECT , ARRAY , NUMBER , STRING , BOOLEAN } |
| Type of the element. | |
Static Public Member Functions inherited from tenduke::json::JSONElement | |
| static std::string | typeToString (const enum Type type) |
| Converts the type to string. | |
|
inlineoverridevirtual |
Serializes the element as JSON.
Implements tenduke::json::JSONElement.
|
inlineoverridevirtual |