Код: Выделить всё
[[{"id":1,"Name":"joy","School":"BMH","Class":"tenth"}],
[{"order":1,"Name":"product1","DisplayName":"watch1","Columntype":"text1"}],
[{"order":2,"Name":"product2","DisplayName":"watch2","Columntype":"text2"}]]
Код: Выделить всё
JsonConvert.DeserializeObject(Reportdata[0])
Код: Выделить всё
[
[
{
"id": [],
"Name": [],
"School": [],
"Class": []
}
],
[
{
"Order": [],
"Name": [],
"DisplayName": [],
"ColumnType": []
}
]
]
Код: Выделить всё
[
[
{
"id": 1,
"Name": "joy",
"School": "BMH",
"Class": "tenth"
}
],
[
{
"Order": 1,
"Name": "product1",
"DisplayName": "watch1",
"ColumnType": "text1"
},
{
"Order": 2,
"Name": "product2",
"DisplayName": "watch2",
"ColumnType": "text2"
}
]
]
Что я упускаю или делаю неправильно? мой процесс десериализации? Есть ли что-то особенное, что мне нужно настроить с помощью вызова JsonConvert.DeserializeObject, чтобы правильно сопоставить значения со свойствами?
Подробнее здесь: https://stackoverflow.com/questions/792 ... reportdata