pub fn serialize<P, S>(path: P, serializer: S) -> Result<S::Ok, S::Error>where P: AsRef<Path>, S: Serializer,
Serialize a Path-like value