Function serde_json::read::error

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