In your PHP
code you are accessing nice
key as a normal element of json:
echo "<td>".$item->nic->ipaddress."</td>";
But, from your var_dump output I can see its of array type.
So, to access elements of nice
array, you'l have to access it by specifying array index.
echo "<td>".$item->nic[0]->ipaddress."</td>";