go through node and store data in a json
hello friends I am in the process of learning the servlet sling and I am
trying to read a parent node and bring all the information it contains to
store it in a json and send it to the view I would appreciate a way to do
thank you acontinuacion I leave an example of what I want to achieve

In summary, I want to obtain the data of the subnodes of the subnosdo in and store them in an array with a servlet sling. I appreciate all the help you can give me.
