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

Method JsonInfo

src/EffectBase.cpp:221–233  ·  view source on GitHub ↗

Generate Json::Value for this object

Source from the content-addressed store, hash-verified

219
220// Generate Json::Value for this object
221Json::Value EffectBase::JsonInfo() const {
222
223 // Create root json object
224 Json::Value root;
225 root["name"] = info.name;
226 root["class_name"] = info.class_name;
227 root["description"] = info.description;
228 root["has_video"] = info.has_video;
229 root["has_audio"] = info.has_audio;
230
231 // return JsonValue
232 return root;
233}
234
235// Get all properties for a specific frame
236Json::Value EffectBase::BasePropertiesJSON(int64_t requested_frame) const {

Callers 1

JsonValueMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected