Enum serialize::json::ErrorCode
[−]
[src]
pub enum ErrorCode { InvalidSyntax, InvalidNumber, EOFWhileParsingObject, EOFWhileParsingArray, EOFWhileParsingValue, EOFWhileParsingString, KeyMustBeAString, ExpectedColon, TrailingCharacters, TrailingComma, InvalidEscape, InvalidUnicodeCodePoint, LoneLeadingSurrogateInHexEscape, UnexpectedEndOfHexEscape, UnrecognizedHex, NotFourDigit, NotUtf8, }
: deprecated in favor of rustc-serialize on crates.io
The errors that can arise while parsing a JSON stream.
Variants
InvalidSyntax | Unstable : deprecated in favor of rustc-serialize on crates.io |
InvalidNumber | Unstable : deprecated in favor of rustc-serialize on crates.io |
EOFWhileParsingObject | Unstable : deprecated in favor of rustc-serialize on crates.io |
EOFWhileParsingArray | Unstable : deprecated in favor of rustc-serialize on crates.io |
EOFWhileParsingValue | Unstable : deprecated in favor of rustc-serialize on crates.io |
EOFWhileParsingString | Unstable : deprecated in favor of rustc-serialize on crates.io |
KeyMustBeAString | Unstable : deprecated in favor of rustc-serialize on crates.io |
ExpectedColon | Unstable : deprecated in favor of rustc-serialize on crates.io |
TrailingCharacters | Unstable : deprecated in favor of rustc-serialize on crates.io |
TrailingComma | Unstable : deprecated in favor of rustc-serialize on crates.io |
InvalidEscape | Unstable : deprecated in favor of rustc-serialize on crates.io |
InvalidUnicodeCodePoint | Unstable : deprecated in favor of rustc-serialize on crates.io |
LoneLeadingSurrogateInHexEscape | Unstable : deprecated in favor of rustc-serialize on crates.io |
UnexpectedEndOfHexEscape | Unstable : deprecated in favor of rustc-serialize on crates.io |
UnrecognizedHex | Unstable : deprecated in favor of rustc-serialize on crates.io |
NotFourDigit | Unstable : deprecated in favor of rustc-serialize on crates.io |
NotUtf8 | Unstable : deprecated in favor of rustc-serialize on crates.io |