{"Kind": {
"Food": {
"color": "0",
"size": "31",
"shape": "round"
},
"Drink": {
"color": "0",
"size": "34",
"shape": "square"
},
"Condiments": {
"color": "0",
"size": "52",
"shape": "rectangle"
}
Hi I have this in a JSON and I'm trying to put it in a table in it would just show the Kind for example Food and shape referring to round.
Do you guys know any way on how I can extract it?
Before it was easier for me to get the data because the format of the JSON
var obj = [
{
"Kind": "Food",
"shape": "round"
}, {
"Kind": "Drink",
"shape": "square"
}, {
"Kind": "Condiments",
"shape": "rectangle"
}]
Calling it was easy as
<td>{{obj.Kind}}</td><td>{obj.shape}}</td>
Now I'm not really sure on how to do it with the new json format..