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

Method JsonValue

src/QtImageReader.cpp:344–353  ·  view source on GitHub ↗

Generate Json::Value for this object

Source from the content-addressed store, hash-verified

342
343// Generate Json::Value for this object
344Json::Value QtImageReader::JsonValue() const {
345
346 // Create root json object
347 Json::Value root = ReaderBase::JsonValue(); // get parent properties
348 root["type"] = "QtImageReader";
349 root["path"] = path.toStdString();
350
351 // return JsonValue
352 return root;
353}
354
355// Load JSON string into this object
356void QtImageReader::SetJson(const std::string value) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected