Fairly new to web development. I need some help with converting a JSON into a table (transposed).
I want to retrieve a JSON in the below format from an API call
{'name': John
'age': 18
'enrolled': ['math','science','english']
}
and convert this to
|---------------------|-----------------------------|
| name | John |
|---------------------|-----------------------------|
| age | 18 |
|---------------------|-----------------------------|
| enrolled | ['math','science','english']|
|---------------------|-----------------------------|