TJA! to Programmer Humor • 8 months agoA box of DevOpssh.itjust.worksimagemessage-square47fedilinkarrow-up1776arrow-down127
arrow-up1749arrow-down1imageA box of DevOpssh.itjust.worksTJA! to Programmer Humor • 8 months agomessage-square47fedilink
minus-square@[email protected]linkfedilink4•8 months 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.
Json is incredibly easy to prettify.
I do it by converting to yaml ;)
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?
| jq
| jq
I use jq pretty much every day