News for hackers. Stuff that matters.
Re:Show HN: JSON For You – Visualize JSON in graph or table ... by pdyc on Tuesday September 24, 2024 @02:44PM (#41639651)
nice tool, i created a tool for viewing csv and i tested with my goto csv file and it crashed :-) . you might want to use paging for tables or use virtualization for table view.
Re:Show HN: JSON For You – Visualize JSON in graph or table ... by loggerhead on Tuesday September 24, 2024 @05:10PM (#41640931)
Yes, I've thought about it, but I haven't come up with a good implementation approach. Do you have any good ideas? Here's the problem I'm facing:

I want the table view to support not just regular array but also complex object structures (like nested structures). The latter results in an irregular structure of tables within tables, and I currently don't have a good approach to implement this using a virtual list.

Re:Show HN: JSON For You – Visualize JSON in graph or table ... by pdyc on Wednesday September 25, 2024 @01:17AM (#41643921)
tree like structure is tricky, for regular csv you can use react-virtual, react-window or use canvas based approach. Canvas based approach would work for tree like structure as well, you are already doing it with graph so it should be doable for table as well.
Re:Show HN: JSON For You – Visualize JSON in graph or table ... by loggerhead on Wednesday September 25, 2024 @08:02AM (#41646386)
I have researched react-virtual, react-window, and canvas, and after long consideration, I ended up with the current solution. I might reconsider trying canvas again. Anyway, thanks.