Util: Implement new JSON Job class

This commit is contained in:
Riyyi
2022-06-24 14:56:37 +02:00
parent 13d020a351
commit 68bc95fdf1
6 changed files with 41 additions and 23 deletions
+3 -3
View File
@@ -46,7 +46,7 @@ public:
Value(const Object& value);
Value(const std::initializer_list<Value>& values);
// ------------------------------------------
// --------------------------------------
static Value parse(const std::string& input);
std::string dump(const uint32_t indent = 0, const char indentCharacter = ' ') const;
@@ -54,7 +54,7 @@ public:
void emplace_back(Value value);
void emplace(const std::string& key, Value value);
// ------------------------------------------
// --------------------------------------
// Array index operator
Value& operator[](size_t index);
@@ -62,7 +62,7 @@ public:
const Value& operator[](size_t index) const;
const Value& operator[](const std::string& key) const;
// ------------------------------------------
// --------------------------------------
Type type() const { return m_type; }