import fghj; auto text = `{"foo":"bar","inner":{"a":true,"b":false,"c":"32323","d":null,"e":{}}}`; auto rem = `{"do":null,"foo":null,"inner":{"c":null,"e":null}}`; auto root = FghjNode(text.parseJson); root.remove(rem.parseJson); auto result = `{"inner":{"a":true,"b":false,"d":null}}`; assert(root == FghjNode(result.parseJson));
Removes keys from the object-tree recursively.