Forum Discussion

stpatel's avatar
stpatel
New Member
5 years ago

How to display List<Map<string,object>> as each item in the list have different key value pair

[
{
"disabled": false,
"id": "fan",
"text": "All FAN Devices",
"leaf": true,
"iconCls": "tree-fan-icon",
"params": [
"",
null,
"fan",
null
]
},
{
"expanded": true,
"children": [
{
"count": 1,
"disabled": false,
"id": "xyz",
"iconCls": "tree-no-icon",
"params": [
" deviceType:xyz",
null,
"xyz",
null
],
"leaf": true,
"typeCategory": "router"
},
{
"disabled": true,
"id": "status_router",
"text": "status",
"leaf": true,
"iconCls": "tree-no-icon"
},
{
"count": 2,
"text": "Up",
"id": "router_up",
"leaf": true,
"iconCls": "tree-up-icon",
"params": [
"deviceCategory:router status:up",
null,
"router",
null
]
}
],
"count": 2,
"disabled": false,
"id": "router",
"text": "ROUTER",
"iconCls": "tree",
"params": [
"deviceCategory:router",
null,
"router",
null
]
},
{
"expanded": true,
"children": [],
"disabled": true,
"text": "labels",
"id": "labelNode",
"cls": "tree-non-selected-font",
"iconCls": "tree-label-icon"
}
]

No RepliesBe the first to reply