Reads and decodes a JSON value by key.
key
Object? readJson(String key) { final value = read(key); if (value == null || value.isEmpty) return null; return jsonDecode(value); }