json_helpers library

Strict JSON readers for the settings configs: a missing field throws instead of rendering a blank page.

Functions

parseDocsDesc(dynamic docsDescJson) → List<Map<String, String>>
Parses a docsDesc array into appendix descriptors; null yields an empty list, a non-list throws.
requireStringField(Map<String, dynamic> json, String key) → String
Reads a required String field out of json; throws FormatException if absent or not a string.