Function serde_any::guess_format [−][src]
pub fn guess_format<P>(path: P) -> Option<Format> where
P: AsRef<Path>,
Attempt to guess the serialization/deserialization format from a file name
This function may recognize and return a format even if it's not supported due to feature flags.