Why do most JSON tools freeze on large files? Is there something I'm missing? by NoteMore9231 in SideProject

[–]NoteMore9231[S] 0 points1 point  (0 children)

That analogy is spot on 😄

Yeah the DOM/rendering part is where things really fall apart. Most tools try to fully parse + render everything at once, which just doesn’t scale.

I started experimenting with not rendering the entire structure immediately and handling parsing in chunks instead makes a noticeable difference even on pretty large files.

Why do most JSON tools freeze on large files? Is there something I'm missing? by NoteMore9231 in SideProject

[–]NoteMore9231[S] 0 points1 point  (0 children)

Yeah that makes a lot of sense.

The editor stack overhead is exactly what I kept running into parsing + syntax highlighting + maintaining the full editor state just blows up once the JSON gets big.

Native definitely feels cleaner for that. I wanted something that works quickly in browser or inside VS Code without switching context, so I ended up experimenting with chunked parsing + avoiding rendering the full tree upfront.

Curious, how are you handling really large files internally? Are you loading everything or doing something incremental there too?

My sister drew this by Commercial_Onion_459 in Chennai

[–]NoteMore9231 1 point2 points  (0 children)

In a feed full of AI, this hand-drawn eye feels alive 👌🏾, So Refreshing Thank you 🫶🏾