mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-07 14:30:13 +01:00
#3237: An error in the documentation for Poco/JSON/Parser.h
This commit is contained in:
parent
8bf57d48e0
commit
b00e82977f
@ -58,9 +58,9 @@ class JSON_API Parser: private ParserImpl
|
||||
/// std::string json = "{ \"name\" : \"Franky\", \"children\" : [ \"Jonas\", \"Ellen\" ] }";
|
||||
/// Parser parser;
|
||||
/// Var result = parser.parse(json);
|
||||
/// Object::Ptr object = result.extract<Object::Ptr>();
|
||||
/// std::string name = object.getValue<std::string>("name");
|
||||
/// Array::Ptr children = object.getArray("children");
|
||||
/// Object::Ptr pObject = result.extract<Object::Ptr>();
|
||||
/// std::string name = pObject->getValue<std::string>("name");
|
||||
/// Array::Ptr pChildren = pObject->getArray("children");
|
||||
/// ----
|
||||
{
|
||||
public:
|
||||
|
Loading…
x
Reference in New Issue
Block a user