Possibly linux@lemmy.zip to linuxmemes@lemmy.worldEnglish · 10 months agoAnsible casually administering hundreds or thousands of deviceslemmy.zipimagemessage-square32fedilinkarrow-up190arrow-down14
arrow-up186arrow-down1imageAnsible casually administering hundreds or thousands of deviceslemmy.zipPossibly linux@lemmy.zip to linuxmemes@lemmy.worldEnglish · 10 months agomessage-square32fedilink
minus-squarertxn@lemmy.worldMlinkfedilinkEnglisharrow-up2·10 months agoYes, both yq and jq are fantastic programs. yq can take either JSON or Yaml (or maybe others, I haven’t checked) as input, then it converts it to JSON before passing it to jq. yq outputs JSON by default, or Yaml if you pass it the --yaml-output option.
Yes, both
yq
andjq
are fantastic programs.yq
can take either JSON or Yaml (or maybe others, I haven’t checked) as input, then it converts it to JSON before passing it tojq
.yq
outputs JSON by default, or Yaml if you pass it the--yaml-output
option.