| 68 | } |
| 69 | |
| 70 | void mitk::Forms::to_json(ordered_json& j, const Question& q) |
| 71 | { |
| 72 | j["Text"] = q.GetQuestionText(); |
| 73 | |
| 74 | if (q.IsRequired()) |
| 75 | j["Required"] = true; |
| 76 | |
| 77 | j["Type"] = q.GetType(); |
| 78 | } |
nothing calls this directly
no test coverage detected