pub fn parse_json_body(body: &str) -> Result<Value, Error>
Parses a JSON body string into a serde_json::Value
body
use postgrest_parser::parser::parse_json_body; let body = r#"{"name": "Alice", "age": 30}"#; let value = parse_json_body(body).unwrap(); assert!(value.is_object());