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

@mart_brooks I am likewise very irked by the no-trailing-comma thing, and the no-comments thing
replies
1
announces
0
likes
1

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