Hi,
I have a scenario where I need to display JSON data in a string in an easy readable format. The treegrid looks nice for this but I can't work out how to do it directly from a string. As the JSON is dynamic I can't use a class as it changes depending on the source.
Ideally I will be showing 2 side by side for comparisons, in this case the 2 will always match in structure just the values would change (and hopefully add some colour indications to the values that are different.
Below is an example of the JSON, is this possible or would another control possibly work?
Thanks
{
"id": 1,
"name": "testname",
"make": "testmake",
"model": "testmodel",
"serial": "testserial",
"createdDate": "2020-01-01T00:00:00",
"active": true,
"Type": {
"id": 1,
"name": "tool"
},
"sections": [
{
"id": 1,
"name": "section1"
},
{
"id": 2,
"name": "section2"
}
]
}