Skip to main content

parse_string

Function parse_string 

Source
pub fn parse_string(content: &str, format: Option<&str>) -> Result<Value>
๐Ÿ‘ŽDeprecated since 0.9.4:

use config_lib::parse โ€” same routing, fewer namespaces

Expand description

Parse string directly to Value (no caching).

Deprecated: use crate::parse โ€” it routes through the same underlying parsers and returns the same Value.

ยงErrors

Returns an error if the input cannot be parsed in the given format.