Skip to main content

dict_json

Function dict_json 

Source
pub fn dict_json(input: &[u8]) -> Result<Vec<u8>, JsonDictError>
Expand description

Replaces repeated large values in input with dictionary references. No-op-safe: empty input returns empty; input with nothing worth dictionarying returns unchanged.