TJA!@sh.itjust.works to Programmer Humor@programming.dev · 2年前A box of DevOpssh.itjust.worksimagemessage-square47fedilinkarrow-up1779arrow-down127
arrow-up1752arrow-down1imageA box of DevOpssh.itjust.worksTJA!@sh.itjust.works to Programmer Humor@programming.dev · 2年前message-square47fedilink
minus-squareCratermaker@discuss.tchncs.delinkfedilinkarrow-up4·2年前I 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.
minus-squareElectricCattleman@lemmy.worldlinkfedilinkEnglisharrow-up5·2年前js’s JSON.stringify(obj, null, 2);
I 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.
js’s
JSON.stringify(obj, null, 2);
Import json Import pprint?