pub fn parse_accessories(json: &[u8]) -> Result<Vec<Accessory>>Expand description
Parse the body of a GET /accessories response into the typed tree.
ยงErrors
crate::ModelError::Jsonif the bytes are not the expected JSON shape.crate::ModelError::MalformedUuidfor an unparseabletype.crate::ModelError::ValueType/crate::ModelError::ValueRange/crate::ModelError::Base64if a presentvaluedoes not match its declaredformat.