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

Method JsonValue

src/CacheBase.cpp:100–108  ·  view source on GitHub ↗

Generate Json::Value for this object

Source from the content-addressed store, hash-verified

98
99// Generate Json::Value for this object
100Json::Value CacheBase::JsonValue() {
101
102 // Create root json object
103 Json::Value root;
104 root["max_bytes"] = std::to_string(max_bytes);
105
106 // return JsonValue
107 return root;
108}
109
110// Load Json::Value into this object
111void CacheBase::SetJsonValue(const Json::Value root) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected