Skip to main content

parse_json

Function parse_json 

Source
fn parse_json(request: &Request) -> Result<Option<CanonicalJsonValue>>
Expand description

Parses canonical JSON while retaining ordinary JSON for typed deserialization.

Empty POST and DELETE bodies become objects for UIA. Other methods and media uploads preserve their existing body handling.