| 123456789101112131415161718192021222324 |
- #pragma once
- #include "jsonElement.hh"
- class JSonObject;
- class JSonObjectEntry: public JSonElement
- {
- public:
- JSonObjectEntry(JSonObject*, const std::string &key, JSonElement *item);
- virtual ~JSonObjectEntry();
- std::string stringify() const;
- bool operator==(const std::string &) const;
- const JSonElement *operator*() const;
- JSonElement *operator*();
- bool match(const std::string &) const;
- protected:
- const std::string key;
- JSonElement * const value;
- };
|