MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / SetJsonValue

Method SetJsonValue

src/QtImageReader.cpp:373–381  ·  view source on GitHub ↗

Load Json::Value into this object

Source from the content-addressed store, hash-verified

371
372// Load Json::Value into this object
373void QtImageReader::SetJsonValue(const Json::Value root) {
374
375 // Set parent data
376 ReaderBase::SetJsonValue(root);
377
378 // Set data from Json (if key is found)
379 if (!root["path"].isNull())
380 path = QString::fromStdString(root["path"].asString());
381}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected