MCPcopy Create free account
hub / github.com/MITK/MITK / to_json

Method to_json

Modules/Forms/src/mitkLinearScaleQuestion.cpp:115–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115void mitk::Forms::to_json(ordered_json& j, const LinearScaleQuestion& q)
116{
117 to_json(j, static_cast<const Question&>(q));
118
119 j["Range"] = q.GetRange();
120 j["Labels"] = q.GetRangeLabels();
121}

Callers

nothing calls this directly

Calls 3

GetRangeLabelsMethod · 0.80
to_jsonFunction · 0.50
GetRangeMethod · 0.45

Tested by

no test coverage detected