Function lambda_router::runtime::json::json
source · pub fn json<T: Serialize, E: Serialize>(
result: &Result<T, E>
) -> Result<String, Error>Expand description
a simple re-export wrapper of serde_json::to_string for Result<T, E>