Possibly linux@lemmy.zip to linuxmemes@lemmy.worldEnglish · 2 年前Ansible casually administering hundreds or thousands of deviceslemmy.zipimagemessage-square52linkfedilinkarrow-up1220arrow-down19
arrow-up1211arrow-down1imageAnsible casually administering hundreds or thousands of deviceslemmy.zipPossibly linux@lemmy.zip to linuxmemes@lemmy.worldEnglish · 2 年前message-square52linkfedilink
minus-squarertxn@lemmy.worldMlinkfedilinkEnglisharrow-up2·2 年前Yes, 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
yqandjqare fantastic programs.yqcan take either JSON or Yaml (or maybe others, I haven’t checked) as input, then it converts it to JSON before passing it tojq.yqoutputs JSON by default, or Yaml if you pass it the--yaml-outputoption.