I have some JSON data that has been urlencoded:
%5B%5B"Task"%2C"Hours%20per%20Day"%5D%2C%5B"Work"%2C11%5D%2C%5B"Eat"%2C2%5D%2C%5B"Commute"%2C2%5D%2C%5B"Watch%20TV"%2C2%5D%2C%5B"Sleep"%2C7%5D%5D
After decoding it, I get the following:
"[["Task","Hours per Day"],["Work",11],["Eat",2],["Commute",2],["Watch TV",0.5],["Sleep",7]]"
The issue is that this decoded output is in string format and not an array. I need to convert it into an array.
On a side note:
I am working on a webpage where I want to display charts using Google Charts, but I'm facing this problem. Any assistance or advice would be greatly appreciated!