Skip to main content

shape

Function shape 

Source
pub fn shape(value: &Value) -> Value
Expand description

A value’s shape: its keys, with each value replaced by its JSON type (string, integer, number, boolean or null) and each list by the shape of its first item.