Skip to main content

parse

Function parse 

Source
pub fn parse(text: &str, base_dir: &Path) -> Result<ConfigValue, HoconError>
Expand description

Parse a HOCON document and return the merged root object.

base_dir controls how include "rel/path" resolves. Pass Path::new(".") when parsing in-memory documents without a physical anchor.