Skip to main content

deobfuscate_json

Function deobfuscate_json 

Source
pub fn deobfuscate_json(
    json_bytes: &[u8],
    mapping: &KeyMapping,
) -> Result<Value, SaveError>
Expand description

Deobfuscate JSON bytes: parse, detect obfuscation, apply mapping if needed.

Returns the (potentially deobfuscated) parsed JSON value.