175
rated 0 times
[
180]
[
5]
/ answers: 1 / hits: 32115
/ 11 Years ago, mon, july 22, 2013, 12:00:00
I need to access the State value from the following array --
data =
{
Images:
[
{
ProductCodes: [],
BlockDeviceMappings: [Object],
Tags: [],
ImageId: 'ami-75301c',
ImageLocation: '54696560/Test Image 3',
State: 'available',
VirtualizationType: 'pavirtul',
Hypervisor: 'xen'
}
],
requestId: '2eb809d3-7f82-4142-b5d1-6af3'
}
When I try data.Images[State]
or data.Images.State
I get undefined.
Thanks
More From » arrays