Hi ,
I need to return a list of objects of ‘mytype’ from a plugin I am developing to then run a workflow on that list.
- an API in the plugin returns a JSON
- I need to reformat the JSON and do some data type conversions
- then I need to return the object from the plugin to Bubble, to be used by a worklow run on a list of ‘mytype’
Example returned from api
{
“members” :
[
[“John”, “07/14/93”, “25”],
[“Mary”, “07/14/95”, “23”]
]
}
What i would like to return to Bubble
List of Members
[
{
“name” : “John”,
“date” : “1993-07-14T00:00:00.000Z”,
“age” : 25
},
{
“name” : “Mary”,
“date” : “1995-07-14T00:00:00.000Z”,
“age” : 23
}
]
Thank you in advance
Mario