Skip to content

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.

Where the book teaches it

Related terms

extractorserdeIntoResponse