Commit d9ed8194 authored by aligungr's avatar aligungr

CLI improvements

parent 146f3916
......@@ -346,7 +346,7 @@ void Json::push(Json element)
m_children[std::to_string(m_children.size())] = std::move(element);
}
void Json::add(std::string key, Json value)
void Json::put(std::string key, Json value)
{
if (m_type != Type::OBJECT)
return;
......
......@@ -88,7 +88,7 @@ class Json
public:
void push(Json element);
void add(std::string key, Json value);
void put(std::string key, Json value);
public:
[[nodiscard]] iterator begin();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment