Skip to main content

parse_body

Function parse_body 

Source
fn parse_body(body: &Bytes) -> Result<Value, String>
Expand description

Parses a body as JSON; empty bodies become null so templates still render (with empty {{body...}} placeholders).