Enum serde::json::error::ErrorCode
[−]
[src]
pub enum ErrorCode { EOFWhileParsingList, EOFWhileParsingObject, EOFWhileParsingString, EOFWhileParsingValue, ExpectedColon, ExpectedConversion, ExpectedEnumEnd, ExpectedEnumEndToken, ExpectedEnumMapStart, ExpectedEnumToken, ExpectedEnumVariantString, ExpectedListCommaOrEnd, ExpectedName, ExpectedObjectCommaOrEnd, ExpectedSomeIdent, ExpectedSomeValue, InvalidEscape, InvalidNumber, InvalidUnicodeCodePoint, KeyMustBeAString, LoneLeadingSurrogateInHexEscape, UnknownField(String), MissingField(&'static str), NotFourDigit, NotUtf8, TrailingCharacters, UnexpectedEndOfHexEscape, UnknownVariant, UnrecognizedHex, }
The errors that can arise while parsing a JSON stream.
Variants
EOFWhileParsingList | |
EOFWhileParsingObject | |
EOFWhileParsingString | |
EOFWhileParsingValue | |
ExpectedColon | |
ExpectedConversion | |
ExpectedEnumEnd | |
ExpectedEnumEndToken | |
ExpectedEnumMapStart | |
ExpectedEnumToken | |
ExpectedEnumVariantString | |
ExpectedListCommaOrEnd | |
ExpectedName | |
ExpectedObjectCommaOrEnd | |
ExpectedSomeIdent | |
ExpectedSomeValue | |
InvalidEscape | |
InvalidNumber | |
InvalidUnicodeCodePoint | |
KeyMustBeAString | |
LoneLeadingSurrogateInHexEscape | |
UnknownField | |
MissingField | |
NotFourDigit | |
NotUtf8 | |
TrailingCharacters | |
UnexpectedEndOfHexEscape | |
UnknownVariant | |
UnrecognizedHex |