2016-11-01 98 views
0

我有存儲在PHP變量中的多維數組字符串,我想提取鍵和它的值。以下是需要拆分的給定字符串。提取多維數組字符串

[{"cutoffTime":"1","refundInPercentage":"50"}, 
    {"cutoffTime":‌​"3","refundInPercent‌​age":"70"}, 
    {"cutoffT‌​ime":"6","refundInPe‌​rcentage":"90"} 
] 

我該如何解壓?

回答

-1

試試這個有你的工作做得

json_decode($string)