Q:

Sum of Array List In groovy

I have an Array List in groovy in below format. I want the sum of integer values in this list.
[ {"value":1}, {"value":1}, {"value":10}, {"value":11}, {"value":12}]

Expected Output 
1+1+10+11+12=35 

A:

Oh its very easy.
list.value.sum()

wow !!!
well thanks !!

