Load Json::Value into this object
| 109 | |
| 110 | // Load Json::Value into this object |
| 111 | void 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 | } |
nothing calls this directly
no outgoing calls
no test coverage detected