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

Method SetJson

src/effects/SphericalProjection.cpp:443–454  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

441}
442
443void 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
456void SphericalProjection::SetJsonValue(const Json::Value root)
457{

Callers

nothing calls this directly

Calls 1

InvalidJSONClass · 0.85

Tested by

no test coverage detected