I am stuck in a problem that I have a string which has a complete description as well as a json containing some Ids. How can I take the Json out the String and perform any event on it..
My data looks like following
The description of xxxxxxxxxxxxxxxxxxxxxxxxxx
[{"id":"613"},{"id":"614"},{"id":"615"}]
Is there any way that I can have the Complete Description and also have the IDs so that I can decode them and use where I want?
Thank you in advance for the support
{making that character the first JSON char all the time) you'll probably have to use a brute-force solution. See stackoverflow.com/a/10574546/298479 for an example (written in JavaScript but you can port it to PHP)