Skip to main content

Object

Type Alias Object 

Source
pub type Object = BTreeMap<String, Value>;
Expand description

A SOML object: members by key.

The order of members is not part of a value in SOML, so an object is a BTreeMap. It iterates in canonical order, and two objects with the same members are equal. Keys are compared byte for byte, with no Unicode normalization, as the spec requires.

Aliased Typeยง

pub struct Object { /* private fields */ }