Answers for "jq list top nodes"

0

jq list top nodes

echo '{"node1":"foo", "node2":"bar","node3": {"inner-node": "baz"}}' | jq '. |=keys'

[
  "node1",
  "node2",
  "node3"
]
Posted by: Guest on November-06-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language