Error al imprimir array json (con cabecera) desde web services
[result] =>
[casa] => stdClass Object
(
[Header] => stdClass Object
(
[messageId] =>
[timestamp] =>
[isTest] =>
[senderId] =>
[receiverId] =>
[originalMessageId] =>
[errorCode] =>
[errorMessage] =>
[security] =>
)
[informacion] => Array
(
[0] => stdClass Object
(
[businessUnit] =>
[itemNumber] =>
[sku] =>
[uom] =>
[availableToSellQTY] =>
[location] =>
[nextQTY] =>
)
)
)
Desde PHP leo el array
imprimo el json con esta funcion
print_r($c);
despues con una funcion el objeto lo vuelvo un array
for($j=0; $j<$lg; $j++) {
echo '<br>valor del array ='.$j.'es '.$c[$j]->businessUnit.'</br>';
}