我需要用PHP解碼這個Json,但我不知道如何。我看到這個函數php.net/json,但它沒有如何解碼這種類型的數據。在PHP中使用Json解碼數據
{"c":[{"v":"0","e":"","n":"45","cc":"PSDB - PTB \/ PPS \/ DEM \/ PMN \/ PSDB \/ PT do B","nm":"JOSÉ SERRA","nv":"VICE: ÃNDIO DA COSTA"},{"v":"0","e":"","n":"13","cc":"PT - PRB \/ PDT \/ PT \/ PMDB \/ PTN \/ PSC \/ PR \/ PTC \/ PSB \/ PC do B","nm":"DILMA","nv":"VICE: MICHEL TEMER"}],"r":[{"f":"Oficial","dt":"30\/10\/2010","v":"1","t":"2","ht":"22:00:09","tf":"false","m":"N"}],"t":[{"vl":"0","vv":"0","e":"135804433","vnom":"0","s":"400001","c":"0","tv":"0","a":"0","vb":"0","st":"0","ea":"0","vn":"0"}]}
正確的鏈接是在那裏的頁面,你必須... – 2010-10-31 15:51:32
@Chacha放鬆。如果它是重複的行爲,我和你在一起。但是,這是一個新用戶誰沒有找到正確的鏈接,好嗎? – 2010-10-31 16:03:13
[如何解碼json對象的數組]可能的重複(http://stackoverflow.com/questions/2594183/how-to-decode-an-array-of-json-object) – Gordon 2010-11-01 00:46:06