mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-24 08:06:36 +01:00
Fix link to serde::Deserialize (#2498)
This commit is contained in:
parent
5b6204168a
commit
f7c4cd883a
2 changed files with 4 additions and 1 deletions
|
@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning].
|
|||
# Unreleased
|
||||
|
||||
- **added:** Implement `TypedPath` for `WithRejection<TypedPath, _>`
|
||||
- **fixed:** Documentation link to `serde::Deserialize` in `JsonDeserializer` extractor ([#2498])
|
||||
|
||||
[#2498]: https://github.com/tokio-rs/axum/pull/2498
|
||||
|
||||
# 0.9.1 (29. December, 2023)
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ use std::marker::PhantomData;
|
|||
|
||||
/// JSON Extractor for zero-copy deserialization.
|
||||
///
|
||||
/// Deserialize request bodies into some type that implements [`serde::Deserialize<'de>`].
|
||||
/// Deserialize request bodies into some type that implements [`serde::Deserialize<'de>`][serde::Deserialize].
|
||||
/// Parsing JSON is delayed until [`deserialize`](JsonDeserializer::deserialize) is called.
|
||||
/// If the type implements [`serde::de::DeserializeOwned`], the [`Json`](axum::Json) extractor should
|
||||
/// be preferred.
|
||||
|
|
Loading…
Reference in a new issue