Skip to main content

admit_json

Function admit_json 

Source
pub fn admit_json(upload: &[u8], expected: &[u8]) -> String
Expand description

Admit upload against the expected JSON (empty for none) and render the result as the boundary’s JSON.