pub fn mask_json_subtree<'a, 'b>(
    data: &'a Value,
    keep_paths: impl AsRef<[&'b str]>
) -> Result<Value>
Expand description

Replace JSON (sub)tree(s) with their multibase-encoded Merkle-root hash strings.

Argument keep_paths can be created using function split_alternatives as needed.