js’s JSON.stringify(obj, null, 2);
Comment on A box of DevOps
Cratermaker@discuss.tchncs.de 1 year agoI wrote a json prettifier a couple months ago with just a couple lines of code. I thought it would take a while but ended up taking like 10 minutes.
ElectricCattleman@lemmy.world 1 year ago
30p87@feddit.de 1 year ago
| jq
kbotc@lemmy.world 1 year ago
Import json Import pprint?