I think this is very easy:
var myVars={"Numbers":[{"1":6},{"2":19},{"3":34},{"4":38},{"5":70}],"MB":5,"MP":"05","DrawDate":"2016-03-22T00:00:00"}
myVars.Numbers
will give you: [{"1":6},{"2":19},{"3":34},{"4":38},{"5":70}]
This element represents an array: the first element is myVars.Numbers[0]
- {"1":6}
, the second is myVars.Numbers[1]
- {"2":19}
. Finaly, myVars.Numbers[1][2]
is 19. This means that if you want to access the second number 19
, you need to write: myVars.Numbers[1][2]
source share