MCPcopy Create free account
hub / github.com/Alan-CRL/Inkeys / parse

Method parse

Timeout/InkeysTimeout/json/lib_json/json_reader.cpp:90–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88 Reader::Reader(const Features& features) : features_(features) {}
89
90 bool Reader::parse(const std::string& document, Value& root,
91 bool collectComments) {
92 document_.assign(document.begin(), document.end());
93 const char* begin = document_.c_str();
94 const char* end = begin + document_.length();
95 return parse(begin, end, root, collectComments);
96 }
97
98 bool Reader::parse(std::istream& is, Value& root, bool collectComments) {
99 // std::istream_iterator<char> begin(is);

Callers 3

loadI18nFunction · 0.45
parseMethod · 0.45
parseFromStreamFunction · 0.45

Calls 14

pushMethod · 0.80
parseFunction · 0.50
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
emptyMethod · 0.45
setCommentMethod · 0.45

Tested by

no test coverage detected