Glossary: Rust Beyond the Basics
Json (Axum)
Also written: Json<T>
An Axum wrapper that sends a value as JSON when returned, and as an extractor reads and deserializes the request body. As an extractor it must be the last parameter.
Glossary: Rust Beyond the Basics
Also written: Json<T>
An Axum wrapper that sends a value as JSON when returned, and as an extractor reads and deserializes the request body. As an extractor it must be the last parameter.