Parse JSON from string
| 385 | |
| 386 | // Parse JSON from string |
| 387 | void LensFlare::SetJson(const std::string v) |
| 388 | { |
| 389 | try { SetJsonValue(openshot::stringToJson(v)); } |
| 390 | catch (...) { throw InvalidJSON("LensFlare JSON"); } |
| 391 | } |
| 392 | |
| 393 | // Apply JSON values to effect |
| 394 | void LensFlare::SetJsonValue(const Json::Value r) |
nothing calls this directly
no test coverage detected