Given this
var test1 = {
'array1' : [
{
'prop1': 42,
'prop2': 43
},
{
'prop1': 42,
'prop2': 43
},
{
'prop1': 42,
'prop2': 43
}
]
};
How do I create a mapping that adds another property to the objects in the collection?
automapper.createMap('a', 'b')
.forMember('array1.prop3 ???', function() { return 56; });