Forum Academy Marketplace Showcase Pricing Features

Convert JSON API output to list of data types

Hi everyone,

For my app Questgen, I get the JSON output as shown in the images. Basically, a list of MCQs is generated from a given text.

I am trying to convert the “ques_ans_pairs” json list to a list of MCQs (image shown) and store it in the database so that I can use a repeating group and show MCQs with correct answer randomized as shown in the UI.

But unable to find a way to store the JSON list to a list of MCQ objects.
Any help is appreciated.

Thanks,
Ramsri



You will probably need to run an “API Workflow on a List” on the JSON that is the array.

1 Like