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

Method to_json

Modules/Forms/src/mitkQuestionWithOtherOption.cpp:95–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95void mitk::Forms::to_json(ordered_json& j, const QuestionWithOtherOption& q)
96{
97 to_json(j, static_cast<const QuestionWithOptions&>(q));
98
99 if (q.HasOtherOption())
100 j["Other"] = true;
101}

Callers

nothing calls this directly

Calls 2

HasOtherOptionMethod · 0.80
to_jsonFunction · 0.50

Tested by

no test coverage detected