Comment

Comment by CamouflagedKiwi

I generally like `encoding/json/v2` and I'm glad they did it.

I wish they'd left `MarshalIndent` in there though. The equivalent code is super complicated and non-obvious, so it's a pain to migrate, and it's a pain when you're banging out some quick code and want to dump some readable JSON. I suppose these days the LLMs can write the complicated version for us, of course.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton