pub fn from_slice_with_settings<T: DeserializeOwned>( buf: &[u8], settings: &Settings, ) -> Result<T>
Read json from a slice of in-memory bytes, with explicit Settings