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

Method SetJsonValue

src/CacheBase.cpp:111–116  ·  view source on GitHub ↗

Load Json::Value into this object

Source from the content-addressed store, hash-verified

109
110// Load Json::Value into this object
111void CacheBase::SetJsonValue(const Json::Value root) {
112
113 // Set data from Json (if key is found)
114 if (!root["max_bytes"].isNull())
115 max_bytes = std::stoll(root["max_bytes"].asString());
116}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected