pub fn scalar_kind(value: &Value) -> Option<ScalarKind>Expand description
The scalar kind of value, or None for an array/object.
Containers have no scalar kind; guard_bare_overwrite reports them
separately as BareOverwrite::Container rather than exempting them.