Skip to main content

value_type_name

Function value_type_name 

Source
pub fn value_type_name(v: &Value) -> &'static str
Expand description

Returns a human-readable name for the JSON value variant.

Used by error messages that report the received value type without including value content. The catch-all keeps the match robust if serde_json ever grows variants and preserves the other output.