Json::Value root; Json::Reader reader; const bool parsingSuccessful = reader.parse("404 Not Found", root); parsingSuccessful == true ! p.s. http://jsonlint.com/ Parse error on line 1: 404 NotFound ^ Expecting '{', '['