import fghj; auto text = `{"foo":"bar","inner":{"a":true,"b":false,"c":"32323","d":null,"e":{}}}`; auto root = FghjNode(text.parseJson); import std.stdio; Fghj flat = cast(Fghj) root; assert(flat["inner", "a"] == true);
See Implementation