pub fn shape(value: &Value) -> Value
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.
string
integer
number
boolean
null