2016-11-01 134 views
0

我有存储在PHP变量中的多维数组字符串,我想提取键和它的值。以下是需要拆分的给定字符串。提取多维数组字符串

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

我该如何解压?

回答

-1

试试这个有你的工作做得

json_decode($string)