pub(crate) fn parse<T: for<'a> Deserialize<'a>>(json: &str) -> Result<T, Error>
Parses JSON from the library.