You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Returning JSON is common. This would avoid adding an extra dependency in the end user's Cargo.toml and avoid some stutter (Json(json!(...))) without exposing the serde_json dependency.
The text was updated successfully, but these errors were encountered:
Feature Request
Consider adding an
axum::json!
macro that matches theserde_json
macro syntax and avoids the stutter:Motivation
Returning JSON is common. This would avoid adding an extra dependency in the end user's Cargo.toml and avoid some stutter (
Json(json!(...))
) without exposing theserde_json
dependency.The text was updated successfully, but these errors were encountered: