MCPcopy Create free account
hub / github.com/ValveSoftware/Proton / parse

Method parse

vrclient_x64/jsoncpp.cpp:283–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281}
282
283bool
284Reader::parse(const std::string& document, Value& root, bool collectComments) {
285 document_ = document;
286 const char* begin = document_.c_str();
287 const char* end = begin + document_.length();
288 return parse(begin, end, root, collectComments);
289}
290
291bool Reader::parse(std::istream& sin, Value& root, bool collectComments) {
292 // std::istream_iterator<char> begin(sin);

Callers 6

parseFunction · 0.45
json_convert_pathsFunction · 0.45
parseMethod · 0.45
parseFromStreamFunction · 0.45
parseFunction · 0.45

Calls 8

lengthMethod · 0.80
clearMethod · 0.80
emptyMethod · 0.80
setCommentMethod · 0.80
isArrayMethod · 0.80
isObjectMethod · 0.80
parseFunction · 0.70
c_strMethod · 0.45

Tested by

no test coverage detected