So I just quickly tested a JSON mapped script with a loop in Studio.
You would create it normally and test in Excel first before mapping it to JSON.
For each LOOP, the JSON payload will have a Loop array. You would just add the relevant number of items in the array, separated by commas. An example of VA01 with a basic loop is shown below.
If you are looking for something else, please be specific and share what you have tried already and where you are getting stuck, so we can try to provide more relevant help.
thanks

------------------------------
Jayasri Varyani | SE
Winshuttle North America |
------------------------------