我有一个以下格式的 groovy 数组列表。我想要这个列表中整数值的总和。
[ {"value":1}, {"value":1}, {"value":10}, {"value":11}, {"value":12}]
预期产出
1+1+10+11+12=35
groovy
groovy ×1