{"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"}}} php json kullanımı
3
●176
- 07-01-2020, 02:11:35Merhabalar, alt satırdaki json kodlarından sadece operationMessage'i nasıl yazdırabilirim?
- 07-01-2020, 02:13:23Üyeliği durdurulduhttp://www.erbilen.net/php-ve-json/ Bu siteden yardım alabilirsin.
- 07-01-2020, 02:14:12ataliemre adlı üyeden alıntı: mesajı görüntüle
$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;recepasann bunu beğendi.1 kişi bunu beğendi.