| 248 | |
| 249 | |
| 250 | void CableWidget::mergeJson(json_t* rootJ) { |
| 251 | std::string s = color::toHexString(color); |
| 252 | json_object_set_new(rootJ, "color", json_string(s.c_str())); |
| 253 | } |
| 254 | |
| 255 | |
| 256 | void CableWidget::fromJson(json_t* rootJ) { |
nothing calls this directly
no test coverage detected