Skip to main content

encode

Function encode 

Source
pub fn encode(v: &Value, out: &mut Vec<u8>, depth: usize) -> Result<()>
Expand description

Encode a JSON value as MessagePack (the inverse of decode’s mapping).