Back to Blog
Jan 29, 2016 3 min read

Pretty JSON streams

JSON Scripting

Pretty JSON streams

I've been looking at walls of JSON for the last few days, and realized that I really shouldn't be doing that. So I made a script that will continuously indent and output a stream of JSON data formatted and indented properly.

Using jq is usually the best way to handle this today, but back then, a simple Python wrapper was a quick way to get readable output from a piped stream.

Thanks for reading!

I hope you found this technical dive useful. Feel free to connect with me if you have any questions or thoughts.

Connect with me
© 2026 Adam Lamers
Framework: Svelte_5
Runtime: Cloudflare