pub fn parse_yaml<T>(
text: &str,
options: Option<FormatOptions>,
) -> Result<Formatted<T>, Error>where
T: DeserializeOwned,Expand description
Parses a YAML string into a value, capturing outer whitespace only.
pub fn parse_yaml<T>(
text: &str,
options: Option<FormatOptions>,
) -> Result<Formatted<T>, Error>where
T: DeserializeOwned,Parses a YAML string into a value, capturing outer whitespace only.