<?php
$response = <<< 'TXT'
{
"items": [
{
"tableName": "CO.Affected_Country",
"count": 1,
"columnNames": [
"id"
],
"rows": [
[
"12"
]
]
}
],
"links": [
{
"rel": "self",
"href": "https://ter.ge.com/services/rest/connect/v1.3/queryResults?query=x"
},
{
"rel": "canonical",
"href": "x"
},
{
"rel": "describedby",
"href": "x",
"mediaType": "application/schema+json"
}
]
}
TXT;
$obj = json_decode($response);
echo $obj->items[0]->rows[0][0];
preferences:
78.09 ms | 402 KiB | 5 Q