json
data in cache under key
.
# Save `json` data in cache under `key`.
private fun cache(key: String, obj: Serializable) do
# print "Cache key {key}" # debug
store.store_object(key, obj.to_json.parse_json.as(JsonObject))
end
lib/github/cache.nit:72,2--76,4