I have result
{"success":true,"data":{"id":6583879,"listingId":"11745/3470/OMS"}}
I need to explode it on two arrays:
$id = 6583879;
and
$listid = 11745/3470/OMS
I'd like to avoid counting characters, this response may be another in future. I was thinking about taking:
- everything between "id": and comma
- everything between "listingId":" and "