readJson static method
Reads a decoded JSON value, or null.
Implementation
static Object? readJson(String key) {
final String? raw = backend.read(key);
if (raw == null) return null;
try {
return jsonDecode(raw);
} on FormatException {
return null;
}
}