pub fn to_pretty_string<T: Serialize>(value: &T) -> Result<String, Error>Expand description
Pretty-print value the same way serde_json::to_string_pretty does —
a thin, named wrapper so CLI output call sites read as “render JSON”
rather than reaching for serde_json directly.