pub fn parse_fields(value: &str) -> Result<HashMap<String, String>, AamlError>Expand description
Parses key-value pairs using the AAM pipeline (AAM::parse).
- Inline objects
{ k = v, ... }are wrapped as_ = { ... }before entering the pipeline, then unwrapped. - Full documents
k = v\n...go through the pipeline directly.
ยงErrors
Returns an error if the value cannot be parsed into key-value pairs.