| 264 | } |
| 265 | |
| 266 | bool |
| 267 | Reader::parse(const std::string &document, Value &root, bool collectComments) { |
| 268 | document_ = document; |
| 269 | const char *begin = document_.c_str(); |
| 270 | const char *end = begin + document_.length(); |
| 271 | return parse(begin, end, root, collectComments); |
| 272 | } |
| 273 | |
| 274 | bool Reader::parse(std::istream &sin, Value &root, bool collectComments) { |
| 275 | // std::istream_iterator<char> begin(sin); |
no test coverage detected