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

Method JsonValue

src/FrameMapper.cpp:777–788  ·  view source on GitHub ↗

Generate Json::Value for this object

Source from the content-addressed store, hash-verified

775
776// Generate Json::Value for this object
777Json::Value FrameMapper::JsonValue() const {
778
779 // Create root json object
780 Json::Value root = ReaderBase::JsonValue(); // get parent properties
781 root["type"] = "FrameMapper";
782 if (reader) {
783 root["reader"] = reader->JsonValue();
784 }
785
786 // return JsonValue
787 return root;
788}
789
790// Load JSON string into this object
791void FrameMapper::SetJson(const std::string value) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected