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

Method toJson

lib/inputanalysis/InputAnalysisReport.cpp:24–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24Json::Value InputAnalysisReport::toJson() const {
25 Json::Value Result;
26
27 Json::Value UnitTestJson;
28 for (auto &Unittest : Unittests)
29 UnitTestJson.append(Unittest.getJson());
30 Result[getReportType()]["unittests"] = UnitTestJson;
31 Result[getReportType()]["Definitions"] = toJson(DefMap);
32 return Result;
33}
34
35bool InputAnalysisReport::fromJson(Json::Value Root) {
36 assert(false && "Not Implemented");

Callers

nothing calls this directly

Calls 2

ValueClass · 0.50
getJsonMethod · 0.45

Tested by

no test coverage detected