| 316 | } |
| 317 | |
| 318 | bool |
| 319 | Reader::parse(const std::string& document, Value& root, bool collectComments) { |
| 320 | document_.assign(document.begin(), document.end()); |
| 321 | const char* begin = document_.c_str(); |
| 322 | const char* end = begin + document_.length(); |
| 323 | return parse(begin, end, root, collectComments); |
| 324 | } |
| 325 | |
| 326 | bool Reader::parse(std::istream& sin, Value& root, bool collectComments) { |
| 327 | // std::istream_iterator<char> begin(sin); |
no test coverage detected