I have a UI5-JSON-Model and want to display it in a tree. But I want to display not the whole structure, but only a subset. Say I have the following model:
{
"nodes": [
{
"text": "Leaf 1",
"additionalStuff": [
{
"element": "blue"
},
{
"element": "green"
}
]
},
{
"text": "Subtree",
"nodes": [
{
"text": "Leaf in Subtree"
}
]
},
{
"text": "Leaf 2"
}
]
}
I want to display the nodes and the text, but not the additionalStuff. But the picture I get is the following:
How can I tell the tree to ignore the additionalStuff?
