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

Method ToJSON

Modules/Core/src/DataManagement/mitkColorProperty.cpp:86–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86bool mitk::ColorProperty::ToJSON(nlohmann::json& j) const
87{
88 j = this->GetColor();
89 return true;
90}
91
92bool mitk::ColorProperty::FromJSON(const nlohmann::json& j)
93{

Callers

nothing calls this directly

Calls 1

GetColorMethod · 0.45

Tested by

no test coverage detected