pub enum JsonError {
UnexpectedToken(String),
UnexpectedCharacter(char),
UnexpectedEndOfJson,
FailedUtf8Parsing,
ArrayIndexOutOfBounds,
WrongType(String),
UndefinedField(String),
}
Variants
UnexpectedToken(String)
UnexpectedCharacter(char)
UnexpectedEndOfJson
FailedUtf8Parsing
ArrayIndexOutOfBounds
WrongType(String)
UndefinedField(String)
Methods
Trait Implementations
Formats the value using the given formatter.
Formats the value using the given formatter.
The lower-level cause of this error, if any. Read more