Read a value from JSON array in Node .js

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

Images maps to an array which stores objects, so you have to specify the index of the item you want. Try data.images[0]["State"].