Browse Source

Util: Add missing getter to Object

master
Riyyi 2 years ago
parent
commit
a818c4489c
  1. 1
      src/util/json/object.h

1
src/util/json/object.h

@ -42,6 +42,7 @@ public:
const Value& at(const std::string& key) const { return m_members.at(key); }
const Value& operator[](const std::string& key) const { return m_members.at(key); }
size_t size() const { return m_members.size(); }
const std::map<std::string, Value>& members() const { return m_members; }
private:

Loading…
Cancel
Save