pub fn parse_str(text: &str, origin: &str) -> Result<LoopConfig, CoreError>Expand description
Parse config text, trying YAML first (a superset of JSON in practice) and falling back to strict JSON so both error messages survive to the caller.
Any 0.3 top-level key is relocated by config::legacy before typing, so
an old file loads unchanged. Use parse_str_reporting to find out whether
that happened.