70 std::vector<std::string>
getKeys()
const;
111 void remove(
size_t _id);
bool add(const std::string &_name, const ejson::Value &_value)
add an element in the Object
iterator begin()
Get iterator of the first Value.
ejson namespace containing all function for JSON interpretor
Definition: Array.hpp:12
ejson Object interface { ... }.
Definition: Object.hpp:18
size_t size() const
get the number of sub element in the current one
bool valueExist(const std::string &_name) const
check if an element exist.
Basic main object of all json elements.
Definition: Value.hpp:31
iterator end()
Get iterator of the next of the last Value.
std::string getKey(size_t _id) const
Get the element name (key).
Definition: iterator.hpp:16
ejson::Object & operator=(const ejson::Object &_obj)
Copy constructor.
ejson::Value operator[](const std::string &_name)
Cet the sub element with his name (no cast check)
std::vector< std::string > getKeys() const
Get all the element name (keys).