Hello,
I was trying to Deserialize JSON to DataTable, but I have a problem losing data. My JSON looks like the below:
{
"data":{
"city":{
"street":[
{
"id":"1",
"name":[
]
},
{
"id":"2",
"name":[
"A"
]
},
{
"id":"36",
"name":[
"A",
"B"
]
},
{
"id":"4",
"name":[
"A",
"B",
"C"
]
}
]
}
}
}
And as DataTable I receives something like that :
[id,name
1,System.String[]
2,System.String[]
36,System.String[]
4,System.String[]
]
I don’t understand why some data from JSON is messing. I’ve run out of ideas on how to Deserialize JSON such as JOSN