What is the proper syntax to read the response?


#1

I have tried all to no avail:

lodash._.each (event.response.content.resource, function( record ) {
    storeId == 101 ;
    return false;
});
lodash._.each (event.response.content, function( record ) {
    storeId == 102 ;
    return false;
});
lodash._.each (event.response.record, function( record ) {
    storeId == 103 ;
    return false;
});
lodash._.each (event.response.resource, function( record ) {
    storeId == 1034;
    return false;
});
lodash._.each (event.response.content.record, function( record ) {
    storeId == 103 ;
    return false;
});

#2

For future reference;

lodash._.each (event.response.content, function( record ) {
}

is the correct way.


#3

Thanks for posting the correct way @jimijon!