| 27 | // --- PipInstallGroup JSON --- |
| 28 | |
| 29 | void mitk::from_json(const nlohmann::ordered_json& j, PipInstallGroup& g) |
| 30 | { |
| 31 | j.at("requirements").get_to(g.requirements); |
| 32 | g.indexUrl = j.value("indexUrl", std::string()); |
| 33 | g.extraPipArgs = j.value("extraPipArgs", std::vector<std::string>()); |
| 34 | } |
| 35 | |
| 36 | void mitk::to_json(nlohmann::ordered_json& j, const PipInstallGroup& g) |
| 37 | { |