Skip to main content

encode_body

Function encode_body 

Source
pub fn encode_body(bytes: &[u8]) -> Value
Expand description

Encode response body for structured output: JSON → value, UTF-8 → string, binary → base64.