pleroma.debian.social

“Maybe I can do this JSON templating work entirely with jq”

Last words of an engineer before disappearing through a singularity

@mart_brooks I could convert this to YAML (or just round trip it through YAML) but that felt like a trap too

@mart_brooks yeah. I’m not aware of a jq-like tool for YAML but I’m sure they exist. I probably should have broken out python. Here’s my WIP monstrosity https://github.com/jmtd/openjdk/blob/templateTemplate/templates/populate-template-community.jq
replies
0
announces
0
likes
0

@mart_brooks I am likewise very irked by the no-trailing-comma thing, and the no-comments thing

@mart_brooks I’ve managed to navigate my career around ever using mongoDB, thankfully