Generate Json::Value for this object
| 219 | |
| 220 | // Generate Json::Value for this object |
| 221 | Json::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 |
| 236 | Json::Value EffectBase::BasePropertiesJSON(int64_t requested_frame) const { |