function jsonToGo(json, typename, flatten = true) { let data; let scope; let go = ""; let tabs = 0; const seen = {}; const stack = []; ...