Dynamic UI components building using API JSON response

I have to create Dynamic UI meaning based on the API JSON response received.

I will be receiving the input type like check box or input and all the other attributes in JSON response, using that can i create the component and create dynamic UI?

  Discussion posts and replies are publicly visible

Parents Reply
  • Sorry missed to update the other part and yes it will be a dropdown

          "questionCode": "GEO-Q1",

          "order": 1,

          "isMandatory": true,

          "isReadOnly": true,

          "possibleAnswers": [

            {

              "identity": 7085,

              "text": "Afghanistan",

              "order": 1,

              "value": "AF"

            },

            {

              "identity": 7086,

              "text": "Åland Islands",

              "value": "AX",

              "order": 2

            }

          ]

        },

Children