Re:A New Go API for JSON
by athorax on Wednesday November 04, 2026 @01:59PM
(#50370004)
I'm not sure if I'm missing something, but isn't this functionality just moved into jsontext? https://pkg.go.dev/encoding/json/jsontext#Value.Indent
[ Parent
| on HN ]
func WithIndent(indent string) Options
https://pkg.go.dev/encoding/json/jsontext#WithIndent