pub fn json_to_string_pretty(value: &Value) -> StringExpand description
Render a serde_json::Value as pretty-printed JSON, falling back to its
Display impl when the value cannot be serialized.
This is the standard fallback used across the workspace for log lines and spooled output where we want a readable form but still want a non-empty string even for exotic value shapes.