|
ascii-chat 0.0.0
Real-time terminal-based video chat with ASCII art conversion
|
JSON value wrapper (can hold any JSON type) More...
#include <src/tooling/query/json.h>
Public Types | |
| enum class | Type { Null , Bool , Int , UInt , Double , String , Array , Object } |
Public Member Functions | |
| JsonValue () | |
| JsonValue (std::nullptr_t) | |
| JsonValue (bool b) | |
| JsonValue (int i) | |
| JsonValue (int64_t i) | |
| JsonValue (uint64_t u) | |
| JsonValue (double d) | |
| JsonValue (const char *s) | |
| JsonValue (const std::string &s) | |
| JsonValue (std::string &&s) | |
| std::string | toString () const |
Static Public Member Functions | |
| static JsonValue | fromArray (const std::string &serialized) |
| static JsonValue | fromObject (const std::string &serialized) |
|
strong |
|
inline |
Definition at line 84 of file json.h.
|
inline |
Definition at line 85 of file json.h.
|
inline |
Definition at line 86 of file json.h.
|
inline |
|
inline |
|
inline |
Definition at line 89 of file json.h.
|
inline |
Definition at line 90 of file json.h.
|
inline |
Definition at line 91 of file json.h.
|
inline |
Definition at line 92 of file json.h.
|
inline |
Definition at line 93 of file json.h.
|
inlinestatic |
Definition at line 96 of file json.h.
References Array.
Referenced by ascii_query::json::JsonArray::add(), and ascii_query::json::JsonObject::set().
|
inlinestatic |
Definition at line 103 of file json.h.
References Object.
Referenced by ascii_query::json::JsonArray::add(), and ascii_query::json::JsonObject::set().
|
inline |
Definition at line 110 of file json.h.
References Array, Bool, Double, ascii_query::json::escape(), Int, Null, Object, String, and UInt.