json - How to show array element details which includes object details -


i have retrieve data .json file. while showing details unable show object details lies in array

.json

{  "data":{   "questions":{            "level":[               {                  "question":[                     {                        "title":"what grc stand for?",                        "answer":[                           "global technical system",                           "global trade services",                           {                              "_correct":"1",                              "__text":"governance, risk, , compliance"                           },                           "global testing site"                        ]                     },                     {                        "title":"which not sap® version?",                        "answer":[                           "4.6c",                           {                              "_correct":"1",                              "__text":"4.7d"                           },                           "ecc5",                           "3.1h"                        ]                     },                     {                        "title":"what bex stand for?",                        "answer":[                           {                              "_correct":"1",                              "__text":"business explorer"                           },                           "business executive exchange",                           "business exhibition"                        ]                     },                     {                        "title":"who ceo of sap®?",                        "answer":[                           {                              "_correct":"1",                              "__text":"jim hagemann snabe , bill mcdermott joint co-ceos"                           },                           "werner brandt",                           "henning kagermann",                           "hasso plattner"                        ]                     },                             {                        "title":"when sap® founded?",                        "answer":[                           "1962",                           {                              "_correct":"1",                              "__text":"1972"                           },                           "1982"                        ]                     }                  ],                  "_difficulty":"0",                  "_title":"sap® general (level 1)",                  "_points_per_question":"10",                  "_seconds_per_question":"30",                  "_total_questions":"5"               }          }     }   } 

here can retrieve answer array details unable display _text, _correct details. 1 suggest correct way display details


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -