/* Parse from stream, collect comments and capture error info. Example Usage: $g++ readFromStream.cpp -ljsoncpp -std=c++11 -o readFromStream $./readFromStream // comment head { // comment before "key" : "value" } // comment after // comment tail.  */
int main(int argc, char *argv[])
/* Parse from stream, collect comments and capture error info. Example Usage: $g++ readFromStream.cpp -ljsoncpp -std=c++11 -o readFromStream $./readFromStream // comment head { // comment before "key" : "value" } // comment after // comment tail.  */
int main(int argc, char *argv[])
{
    std::cout << errs << std::endl;
    return EXIT_FAILURE;
  }
  std::cout << root << std::endl;
  return EXIT_SUCCESS;
}