Skip to main content

format_value_preview

Function format_value_preview 

Source
pub fn format_value_preview(value: Option<&Value>) -> String
Expand description

Create a human-readable preview of a JSON value.

Used by the base diff formatter. Higher-level formatters (describe.rs) have their own value formatting with resource-aware context.