mirror of
https://github.com/actix/actix-website
synced 2024-11-23 16:31:08 +01:00
fix small typo in request.md (#463)
This commit is contained in:
parent
4a92aea8a5
commit
78d97e26e4
@ -10,7 +10,7 @@ There are several options for json body deserialization.
|
|||||||
|
|
||||||
The first option is to use _Json_ extractor. First, you define a handler function that accepts `Json<T>` as a parameter, then, you use the `.to()` method for registering this handler. It is also possible to accept arbitrary valid json object by using `serde_json::Value` as a type `T`.
|
The first option is to use _Json_ extractor. First, you define a handler function that accepts `Json<T>` as a parameter, then, you use the `.to()` method for registering this handler. It is also possible to accept arbitrary valid json object by using `serde_json::Value` as a type `T`.
|
||||||
|
|
||||||
First example of json of `JSON Request` depends on `serde`:
|
First example of `JSON Request` depends on `serde`:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
Loading…
Reference in New Issue
Block a user