Util: Add Json::Value at() functions

This commit is contained in:
Riyyi
2022-07-08 13:55:40 +02:00
parent 4487c800df
commit a209452a68
6 changed files with 41 additions and 12 deletions
+5
View File
@@ -63,6 +63,11 @@ public:
const Value& operator[](size_t index) const;
const Value& operator[](const std::string& key) const;
Value& at(size_t index);
Value& at(const std::string& key);
const Value& at(size_t index) const;
const Value& at(const std::string& key) const;
// --------------------------------------
Type type() const { return m_type; }