MCPcopy Create free account
hub / github.com/Samsung/ONE / parse

Method parse

runtime/3rdparty/jsoncpp/jsoncpp.cpp:344–350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

342Reader::Reader(const Features &features) : features_(features) {}
343
344bool Reader::parse(const std::string &document, Value &root, bool collectComments)
345{
346 document_.assign(document.begin(), document.end());
347 const char *begin = document_.c_str();
348 const char *end = begin + document_.length();
349 return parse(begin, end, root, collectComments);
350}
351
352bool Reader::parse(std::istream &is, Value &root, bool collectComments)
353{

Callers 3

parseMethod · 0.45
parseFromStreamFunction · 0.45
ParseMethod · 0.45

Calls 15

parseFunction · 0.85
setCommentMethod · 0.80
isArrayMethod · 0.80
isObjectMethod · 0.80
assignMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
c_strMethod · 0.45
lengthMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected