Function serde_java_properties::from_reader[][src]

pub fn from_reader<T: DeserializeOwned, R: Read>(reader: R) -> Result<T, Error>
Expand description

Turn a reader into a value of T

Important: Do not use this with a std::io::Cursor<&str>. The reader expects ISO-8859-1 by default. Use from_str instead, which sets the correct encoding.