ForEach for Group

Hello all,
is it possible to loop all objects of a group in javascript ?


I’m using this code:

(function(runtimeScene, objects /*group_name*/) {
    objects.forEach(group => {
      // the name is correct.
      // Now I would like read all element of the group

You are already doing it? I don’t understand the question.

I have a lot of objects in a group ( it can be change run time) Each object has n variables. I want to put all variable values in a bidimensional array and transform it in a json string.then store it.
I hope that is clear.