Adding additional meta data to effects Json()

This commit is contained in:
Jonathan Thomas
2016-08-18 00:21:43 -05:00
parent a3ef86a695
commit 030d173e68
2 changed files with 7 additions and 1 deletions

View File

@@ -70,6 +70,12 @@ Json::Value EffectBase::JsonValue() {
// Create root json object
Json::Value root = ClipBase::JsonValue(); // get parent properties
root["name"] = info.name;
root["class_name"] = info.class_name;
root["short_name"] = info.short_name;
root["description"] = info.description;
root["has_video"] = info.has_video;
root["has_audio"] = info.has_audio;
root["order"] = Order();
// return JsonValue