MCPcopy Create free account
hub / github.com/EQEmu/EQEmu / parse

Method parse

common/json/jsoncpp.cpp:321–328  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

319}
320
321bool
322Reader::parse(const std::string& document, Value& root, bool collectComments) {
323 JSONCPP_STRING documentCopy(document.data(), document.data() + document.capacity());
324 std::swap(documentCopy, document_);
325 const char* begin = document_.c_str();
326 const char* end = begin + document_.length();
327 return parse(begin, end, root, collectComments);
328}
329
330bool Reader::parse(std::istream& sin, Value& root, bool collectComments) {
331 // std::istream_iterator<char> begin(sin);

Callers 2

parseMethod · 0.45
parseFromStreamFunction · 0.45

Calls 14

parseFunction · 0.85
capacityMethod · 0.80
setCommentMethod · 0.80
isArrayMethod · 0.80
isObjectMethod · 0.80
swapFunction · 0.70
dataMethod · 0.45
c_strMethod · 0.45
lengthMethod · 0.45
sizeMethod · 0.45
clearMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected