| 441 | } |
| 442 | |
| 443 | void SphericalProjection::SetJson(const std::string value) |
| 444 | { |
| 445 | try |
| 446 | { |
| 447 | Json::Value root = openshot::stringToJson(value); |
| 448 | SetJsonValue(root); |
| 449 | } |
| 450 | catch (...) |
| 451 | { |
| 452 | throw InvalidJSON("Invalid JSON for SphericalProjection"); |
| 453 | } |
| 454 | } |
| 455 | |
| 456 | void SphericalProjection::SetJsonValue(const Json::Value root) |
| 457 | { |
nothing calls this directly
no test coverage detected