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

Method JsonValue

src/ImageReader.cpp:123–131  ·  view source on GitHub ↗

Generate Json::Value for this object

Source from the content-addressed store, hash-verified

121
122// Generate Json::Value for this object
123Json::Value ImageReader::JsonValue() const {
124
125 // get parent properties
126 Json::Value root = ReaderBase::JsonValue();
127
128 root["type"] = "ImageReader";
129 root["path"] = path;
130 return root;
131}
132
133// Load JSON string into this object
134void ImageReader::SetJson(const std::string value) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected