Load Json::Value into this object
| 149 | |
| 150 | // Load Json::Value into this object |
| 151 | void ImageReader::SetJsonValue(const Json::Value root) { |
| 152 | |
| 153 | // Set parent data |
| 154 | ReaderBase::SetJsonValue(root); |
| 155 | |
| 156 | // Set data from Json (if key is found) |
| 157 | if (!root["path"].isNull()) |
| 158 | path = root["path"].asString(); |
| 159 | |
| 160 | if (is_open) { |
| 161 | Close(); |
| 162 | Open(); |
| 163 | } |
| 164 | } |
| 165 | |
| 166 | #endif //USE_IMAGEMAGICK |
nothing calls this directly
no outgoing calls
no test coverage detected