Introducing: json-space-analyzer

I made a tool for analyzing the size of the data in JSON files. Go check it out at json-space-analyzer.com.

It’s meant to be useful when you’re working with JSON data that’s bigger than you think it should be, and you’d like to understand why, but it’s so big that it’s difficult to build intuition about what’s taking up all the space by looking at the raw text.

I’m using a sunburst chart to visualize the size of the data in the file hierarchically, inspired by tools like Disk Usage Analyzer.

I’d like to add a feature for visually grouping similarly-shaped records in arrays, inspired by speedscope’s “Left Heavy” view. This would be useful for the types of files I’ve been using the tool for which have tens of thousands of instances of similarly-structured objects, overwhelming the sunburst chart.

If you find any issues or have suggestions for improvements, please open an issue (or email me if you don’t use GitHub).