add into_json feature
This commit is contained in:
@@ -44,4 +44,8 @@ pub async fn get_page_by_json(
|
||||
}
|
||||
```
|
||||
|
||||
For more usage examples, please refer to the `basic.rs` and `custom.rs` files in the `tests` directory.
|
||||
For more usage examples, please refer to the `basic.rs` and `custom.rs` files in the `tests` directory.
|
||||
|
||||
## Features
|
||||
|
||||
`into_json`: When this feature is enabled, validation errors will be serialized into JSON format and returned as the HTTP body.
|
||||
Reference in New Issue
Block a user