I am new to PHP Programming, I need to parse the json string. This is the string what I have as JSON array
[{"datetime":"17/02/2014 13:18:30","type":"testtype","locationid":"1","GPSType":"GOOGLE","GPSLatitude":"1.1","GPSLongtitude":"1.2","userid":"admin","brand":"1234567","numbers":["num1","num2","num3]}]
In the above string I need to parse numbers array only.
json_decode()- But make sure the JSON string is valid, else it'd returnNULL. The JSON string you have in the question is not valid (as you can verify with an online validator such as jsonlint.com)"in that comment that isn't in the question.