Enum serde_json::error::Error
[−]
[src]
pub enum Error {
Syntax(ErrorCode, usize, usize),
Io(Error),
FromUtf8(FromUtf8Error),
}This type represents all possible errors that can occur when serializing or deserializing a value into JSON.
Variants
Syntax | The JSON value had some syntatic error. | |
Io | Some IO error occurred when serializing or deserializing a value. | |
FromUtf8 | Some UTF8 error occurred while serializing or deserializing a value. |