ataliemre adlı üyeden alıntı: mesajı görüntüle
Merhabalar, alt satırdaki json kodlarından sadece operationMessage'i nasıl yazdırabilirim?
{"ShipmentDeliveryResultVO":{"outFlag":"0","outResult":"Ba\u015far\u0131l\u0131","count":1,"senderCustId":420839458,"shipmentDeliveryDetailVO":{"cargoKey":"460214302771","invoiceKey":"1323453","jobId":6684163,"operationCode":0,"operationMessage":"Kargo \u0130\u015flem G\u00f6rmemi\u015f.","operationStatus":"NOP"}}}
$jsonObject = json_decode('{"ShipmentDeliveryResultVO":{"outFlag":"0","outResult":"Ba\u015far\u0131l\u0131","count":1,"senderCustId":420839458,"shipmentDeliveryDetailVO":{"cargoKey":"460214302771","invoiceKey":"1323453","jobId":6684163,"operationCode":0,"operationMessage":"Kargo \u0130\u015flem G\u00f6rmemi\u015f.","operationStatus":"ecNOP"}}}');

echo $jsonObject->ShipmentDeliveryResultVO->shipmentDeliveryDetailVO->operationMessage;