I need a visualization for some special callreccord data fields (some are yellow marked in the picture and there aresome other nodes in th yellow marked arraye nodes ).
In very unhandy way I could loop through all elements(array, normal nodes) and find the nodes and then write this values in table or grid view for filtering comparison of Callrecord data. In best case I would use a grid view control like this, I am not working general on front-ends so GUI, so I am a noob for this stuff.
And the callrecocrds could be big and complex, so it is not really a solution because it is unhandy, so it is very error proned on developing, changing something or expanding the tool.
Is there an easier way to put the call record data in the table or grid view and then define filterview which shows only the desired fields?
The gridview component has a datasource object and I found infos for converting json to a DataTable and should bind this to the gridview.
I don't know if it is possible, but i found a few infos doing stuff like this. but the bind method is not found. I don't know what I do i found no working short sample. For my tries I used not Callrecord only a simple person list to keep complexity low. So I don't know what steps really needed and if Table colums must be set or can automatically defined on such a simple example.
// dataGridView1 is a GridView in WindowsFormsApp
string data = @"{""Personenliste"" : [
{""name"": ""John Doe"", ""occupation"": ""gardener""},
{""name"": ""Max Mustermann"", ""occupation"": ""driver""}
]}";
Persons jsonobject = JsonConvert.DeserializeObject<Persons>(data);
DataTable dt = (DataTable)JsonConvert.DeserializeObject(data, (typeof(DataTable)));
dataGridView1.DataSource=dt;
dataGridView1.Bind();
Can anyone help me to convert this simple json personlist to the gridview and then I hope i can make it working for Callrecords.

