Function serde_json::ser::escape_bytes  
                   
                       [−]
                   
               [src]
pub fn escape_bytes<W>(wr: &mut W, bytes: &[u8]) -> Result<()> where W: WriteSerializes and escapes a &[u8] into a JSON string.