pub fn deserialize<T: DeserializeOwned>(
data: &str,
) -> Result<(T, String), SerdeFMError>Expand description
Deserialize a string containing front matter into a struct and the content of the string
pub fn deserialize<T: DeserializeOwned>(
data: &str,
) -> Result<(T, String), SerdeFMError>Deserialize a string containing front matter into a struct and the content of the string