In a JSON response how to get a value searching another value at same level?

Hi all,

Hoping you can provide some guidance please. I have a JSON response like the following:

{
“id”: “12345678”,
“name”: “APP1”,
“created”: “2020-02-20T12:12:40.294Z”
}
{
“id”: “dd8b0230”,
“name”: “APP2”,
“created”: “2020-04-20T12:12:40.294Z”
}
{
“id”: “b023017de2”,
“name”: “APP3”,
“created”: “2020-06-20T12:12:40.294Z”
}
{
“id”: “23017de2ed452”,
“name”: “APP4”,
“created”: “2020-08-20T12:12:40.294Z”
}
{
“id”: “023017de2ed”,
“name”: “APP5”,
“created”: “2020-09-20T12:12:40.294Z”
}

And I’m trying to write a test script in postman providing an entire list of app names (“name”), and returning only the “id” of each app name given. The problem I’m having is that the “id” object is at the same level as “name” so I’m not sure how to search through the whole response if the objects are not nested and just to get the “id” objects of all the “names” given.

Any help would be appreciated.

Thanks!