3 ms·
Only safe and easy if json file fits into the RAM.
by ivanjermakov 2y ago
Only safe and easy if json file fits into the RAM.
- lelanthran 2y ago> Only safe and easy if json file fits into the RAM. So? Many of the other JSON parsing tools build up a tree in RAM[1], so the statement "Only works if the final tree fits in RAM" is just as true, and since JSON is mostly text, the final tree is not that much smaller than the source JSON anyway. [1] Including the one this article is presenting, and all the other solutions presented in the comments.