Skip to main content

format_response

Function format_response 

Source
pub fn format_response(id: &str, result: Value) -> String
Expand description

Format a successful response as JSON string (newline-terminated).