[][src]Function paperclip::v2::from_reader

pub fn from_reader<R, S>(reader: R) -> Result<ResolvableApi<S>, PaperClipError> where
    R: Read + Seek,
    S: Deserialize<'de> + Schema

Deserialize the schema from the given reader. Currently, this only supports JSON and YAML formats.