MCPcopy Create free account
hub / github.com/Samsung/UTopia / strToJson

Function strToJson

lib/utils/StringUtil.cpp:114–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114Json::Value strToJson(std::string JsonStr) {
115 Json::Value Json;
116 std::istringstream Iss(JsonStr);
117 Json::CharReaderBuilder Reader;
118 Json::parseFromStream(Reader, Iss, &Json, nullptr);
119 return Json;
120}
121
122} // namespace util
123

Callers 9

loadTargetMethod · 0.85
loadExternalsMethod · 0.85
TESTFunction · 0.85
TEST_FFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
TEST_FFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85

Calls 1

parseFromStreamFunction · 0.85

Tested by 7

TESTFunction · 0.68
TEST_FFunction · 0.68
TESTFunction · 0.68
TESTFunction · 0.68
TEST_FFunction · 0.68
TESTFunction · 0.68
TESTFunction · 0.68