I exptect that mandrill_events only contains one object. How do I access its event-property?
event-property
var req = { mandrill_events: \'[{\"event\":\"inboun
Assuming thant the content of mandrill_events is an object (not a string), you can also use shift() function:
mandrill_events
shift()
var req = { mandrill_events: [{"event":"inbound","ts":1426249238}] }; var event-property = req.mandrill_events.shift().event;