How to use an array of objects as a function input
[
   {
     'id':123,
     'name':'John'
   },
   {
     'id':456,
     'name':'Marie'
   }
 ]
How can I set the input of a function to accept the array of objects?
I have tried using an Object and setting the structure to a list.
However when I try to output the input (to check everything is working correctly) I am returned an empty array.
Any help would be greatly appreciated.
Other
6 replies