0
我需要將此JSON轉換爲specfic類型的數組。 JSON陣列結構是引擎收錄:如何將JSON轉換爲列出的數組?
我需要一個像數組:
Array
(
[1] => Array
(
[title] => 'Meleigh’s 7th Birthday'
[event_url] => 'http://www.paintpartyplace.com/party/meleighs-7th-birthday/'
[event_image] => 'http://www.paintpartyplace.com/wp-content/uploads/2014/04/partythumb.png'
)
[2] => Array
(
title] => 'Meleigh’s 7th Birthday'
[event_url] => 'http://www.paintpartyplace.com/party/meleighs-7th-birthday/'
[event_image] => 'http://www.paintpartyplace.com/wp-content/uploads/2014/04/partythumb.png'
)
)
'json_decode'不夠嗎? http://php.net/json_decode – jornane
當你問代碼問題 –
「I need the array like」的代碼可能是PHP – jornane