diff --git a/JSON/include/Poco/JSON/Array.h b/JSON/include/Poco/JSON/Array.h index 0e83274f2..3fef77237 100644 --- a/JSON/include/Poco/JSON/Array.h +++ b/JSON/include/Poco/JSON/Array.h @@ -47,7 +47,7 @@ class JSON_API Array /// Var result = parser.parse(json); /// Array::Ptr arr = result.extract(); /// Object::Ptr object = arr->getObject(0); // object == {\"test\" : 0} - /// int i = object->getValue("test"); // i == 0; + /// int i = object->getElement("test"); // i == 0; /// Object::Ptr subObject = *arr->getObject(1); // subObject == {\"test\" : 0} /// Array subArr::Ptr = subObject->getArray("test1"); // subArr == [1, 2, 3] /// i = result = subArr->get(0); // i == 1;