```
{
  "accounts": [
    {
      "accountId": "account001",
      "tokens": [
        "tokens1",
        "tokens2",
        "tokens3",
        "tokens4",
      ]
    }
  ]
}

```

so the above is an example of what I am working with, my question is how to filter out whatever token so that I can at a glance see so has what?

I have seen a ton of other answers like this

```
{
    "ok": true,
    "items": [
        {"id": 123, "name": "thing-1"},
        {"id": 124, "name": "thing-2"},
        {"id": 125, "name": "thing-3"}
    ]
}

```

```

cat file.json | jq '.items[] | select(.name == "thing-3") | .'

```

However, as you can see the tokens don't have a .name like their example has.

Could anyone else let me know how I could take the data I have and search it to see if it has token2?

Thanks in advance for any assistance that can be provided.