Skip to main content

parse_object_fields

Function parse_object_fields 

Source
pub fn parse_object_fields(
    value: &str,
) -> Result<HashMap<String, String>, AamlError>
Expand description

Parses the fields of an inline AAM object { k = v, ... } into a map.

ยงErrors

Returns an error if the value is not a valid inline object.