mirror of https://github.com/rwf2/Rocket.git
Fix guide typo: "deserialzies" -> "deserializes".
This commit is contained in:
parent
7b9363f981
commit
8f9d7e6374
|
@ -659,7 +659,7 @@ Any type that implements [`FromData`] is also known as _a data guard_.
|
|||
|
||||
### JSON
|
||||
|
||||
The [`Json<T>`](@api/rocket/serde/json/struct.Json.html) guard deserialzies body
|
||||
The [`Json<T>`](@api/rocket/serde/json/struct.Json.html) guard deserializes body
|
||||
data as JSON. The only condition is that the generic type `T` implements the
|
||||
`Deserialize` trait from [`serde`](https://serde.rs).
|
||||
|
||||
|
|
Loading…
Reference in New Issue