Plugin - Server side - How do you return a list of Bubble object?

I have a server-side plugin,
I defined the returned value to be the object of the Field’s App type

Now, in my code, I do several calculations, which result in a JSON format.
The fields’ names are taken from experimenting with the console log of the input field using the client-side.

This is the JSON output I have:

[
{
“attribute_id_number”:1600000,
“attribute_text_text”:“Storage Type”,
“value_text_text”:“eMMC”,
“category_text_text”:“Key Specs”,
“numerical_value_number”:null,
“value_id_number”:1600004,
“model_text”:“XE350XBA-K01US”
},
{
“attribute_id_number”:2400000,
“attribute_text_text”:“Graphics”,
“value_text_text”:“Intel UHD Graphics 600”,
“category_text_text”:“Key Specs”,
“numerical_value_number”:null,
“value_id_number”:2400002,
“model_text”:“XE350XBA-K01US”
}
];

But it returns empty results to Bubble.
Can someone please help?

1 Like

Digging up older threads to provide an answer for future bubblers.