pub fn parse_content(body: &[u8], content_type: ContentType) -> Result<Value>Expand description
Parse content body into a JSON value based on content type
All content types are normalized to serde_json::Value for uniform
template processing.
pub fn parse_content(body: &[u8], content_type: ContentType) -> Result<Value>Parse content body into a JSON value based on content type
All content types are normalized to serde_json::Value for uniform
template processing.