Skip to main content

to_json

Function to_json 

Source
pub fn to_json(frame: &[u8]) -> String
Expand description

Renders a MessagePack value as JSON text. Binary data, which JSON cannot hold, is shown as "<N bytes>".