I'm trying to make an autocomplete script. I pass variables through JSON, and then I don't know how to go on to decode JSON.
This is an example of the JSON code I got, and I'd like to convert it in a simple javascript array:
[{"ID":"1","name":"Amateur astronomy \r"},{"ID":"2","name":"Amateur microscopy \r"},{"ID":"173","name":"Amateur radio \r"},{"ID":"299","name":"Amateur astronomy \r"},{"ID":"349","name":"Amateur theater \r"}]