Skip to content

jq

Extract property from array

jq '.result.entry[].to'

{
  "@status": "success",
  "@code": "19",
  "result": {
    "@total-count": "77",
    "@count": "77",
    "entry": [
      {
        "@name": "name",
        "@uuid": "123",
        "@location": "device-group",
        "@device-group": "group",
        "@loc": "location",
        "to": {
            "member": ["member"]