Groovy web console

subscribe to the feed Subscribe
to this
site

test

Published 2 months ago by test
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
def arr_obj = [
[name: "name1", default: "default1", description: "description1"],
[name: "name2", default: "default2", description: "description2"],
[name: "name3", default: "default3", description: "description3"],
]

for (obj in arr_obj) {
  print obj.name + "," + obj.inexistent
}