parseCacheHint

Parse a draft CacheableResult freshness hint from a result object. Reads ttlMs (accepting an integer or a float) and cacheScope (a string mapped to the CacheScope enum, defaulting to public). Returns null when no ttlMs field is present.

@safe @safe
Nullable!CacheHint
parseCacheHint
(
Json result
)