mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-09-11 22:05:18 -04:00
Fixed a copy&paste error
parent
421e3d1894
commit
0c5d10e8ff
2
Home.md
2
Home.md
@ -43,7 +43,7 @@ if ( !parsingSuccessful )
|
||||
// Get the value of the member of root named 'encoding', return 'UTF-8' if there is no
|
||||
// such member.
|
||||
std::string encoding = root.get("encoding", "UTF-8" ).asString();
|
||||
// Get the value of the member of root named 'encoding', return a 'null' value if
|
||||
// Get the value of the member of root named 'plug-ins', return a 'null' value if
|
||||
// there is no such member.
|
||||
const Json::Value plugins = root["plug-ins"];
|
||||
for ( int index = 0; index < plugins.size(); ++index ) // Iterates over the sequence elements.
|
||||
|
Loading…
x
Reference in New Issue
Block a user