pub async fn get_json(
__arg0: State<Arc<Mutex<AppState>>>,
) -> Result<Json<Value>, StatusCode>
Expand description
Return arbitrary json object. serde_json::Value
can be a valid json object of any kind.
Wrapping output around axum::Json
as it implements IntoResponse
trait.