jsoncpp
jsoncpp copied to clipboard
update readFromStream example
readFromString provides an example accessing data by index key e.g., root["Name"].asString(), but readFromStream's example isn't as comprehensive.
I've updated the readFromStream example to not only collect and print comments, but capture an array of json objects through the use of the Json::ValueIterator class. More documentation provided here.