MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / parse

Method parse

Source/JSON/jsoncpp.cpp:266–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 8

mainFunction · 0.45
mainFunction · 0.45
testJSONFunction · 0.45
parseStringMethod · 0.45
parseMethod · 0.45
parseFromStreamFunction · 0.45
test.pyFile · 0.45
ExtractLevelsFunction · 0.45

Calls 10

parseFunction · 0.50
c_strMethod · 0.45
lengthMethod · 0.45
clearMethod · 0.45
emptyMethod · 0.45
popMethod · 0.45
pushMethod · 0.45
setCommentMethod · 0.45
isArrayMethod · 0.45
isObjectMethod · 0.45

Tested by

no test coverage detected