Enum rocket_contrib::json::JsonError [−][src]
Expand description
An error returned by the Json
data guard when incoming data fails to
serialize as JSON.
Variants
Io(Error)
An I/O error occurred while reading the incoming request data.
Tuple Fields of Io
0: Error
The client’s data was received successfully but failed to parse as valid
JSON or as the requested type. The &str
value in .0
is the raw data
received from the user, while the Error
in .1
is the deserialization
error from serde
.