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