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

Method from_json

Modules/PythonInstaller/src/mitkPipPackageInfo.cpp:29–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27// --- PipInstallGroup JSON ---
28
29void 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
36void mitk::to_json(nlohmann::ordered_json& j, const PipInstallGroup& g)
37{

Calls 3

atMethod · 0.80
containsMethod · 0.80
valueMethod · 0.45