serde_json::read

Function error

Source
fn error<'de, R, T>(read: &R, reason: ErrorCode) -> Result<T>
where R: ?Sized + Read<'de>,