How to parse JSON string in php

后端 未结 5 1132
你的背包
你的背包 2021-01-03 16:56

I\'m getting below JSON response:

[{\"startDate\":\"2012-07-12 11:21:38 +0530\",\"totalTime\":0},{\"startDate\":\"2012-07-11 11:27:33 +0530\",\"totalTime\":0         


        
5条回答
  •  抹茶落季
    2021-01-03 17:09

    json_decode() will give you nested PHP types you can then descend to retrieve your data.

提交回复
热议问题