Skip to main content

parse

Function parse 

Source
pub fn parse(text: &str) -> Result<Omm, OmmError>
Expand description

Parse an OMM in any supported encoding, detecting it from the leading non-whitespace character and first content line: < is XML, { or [ is JSON, a comma-separated header is CSV, and anything else is KVN.