Skip to main content

parse

Function parse 

Source
pub fn parse(format: Format, text: &str, source: &SourceName) -> Result<Value>
Expand description

Parses one layer into the merge IR.

Enforces ยง2.3: every input must be an object at the top level. A bare array or string root is legal JSON but is not a config, cannot be emitted as TOML, and produces nonsense under last-wins.