i am not sure if its a total n00b question but here goes.
i have a JSON array with values:
array[0].1 = "the value I want"
now I want to include all "the value I want" into this one variable like:
the value I want [1], the value I want [2]....
how do i do it? infact if there is a way I can get the comma seperated values into a variable as it is please let me know.
EDIT: CLARIFICATION OF QUESTION
I want to create a variable in which i want to append all the data from the JSON array i have. for example, if the JSON data reads:
data[0] = value, data[1] = value, data[2] = value, ...
i want all the "value" appended into a variable.
array[0].1is invalid syntax..and identifiers cannot start with a number. the correct syntax would bearray[0][1]