Skip to main content

parse_content

Function parse_content 

Source
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.