groovy, merge two lists : listA is [[Name: mr good, note: good, rating:9], [Name: mr bad, note: bad,
- by user311884
I have two lists:
listA:
[[Name: mr good, note: good,rating:9], [Name: mr bad, note: bad, rating:5]]
listB:
[[Name: mr good, note: good,score:77], [Name: mr bad, note: bad, score:12]]
I want to get this one
listC:
[[Name: mr good, note: good,, rating:9, score:77], [Name: mr bad, note: bad, rating:5,score:12]]
how could I do it ?
thanks.