Hi,
I am trying to DeSerialize this XML file with DataContracts.
- string xmlData = @"'1.0' encoding='utf-8' standalone='yes'?>
'0' >- <object>
CF7E7B22-1D3A-4CFE-91F9-F8C5C2DB4069 ED98C97F-A202-48ED-AEEA-34362508A30B NorthernLights file 1614924419 68934805-fa78-4d84-aac1-fbcde4a7a8f2.png image/png - object>
- ";
I have created this structure with classes:
Objects -- Object -- Permission
Content --- File
I have no errors when I DeSerialize the XML data but no objects will be created.
My code is as follow;
- Objects objects = new Objects();
- objects = dataCSUtility.DeSerializer
(xmlData);
Nothing will be assigned to objects!
Can anybody solve this?
Hakan AxheimPosted Mar 8, 2021, 6:17 AM
Hakan AxheimPosted Mar 7, 2021, 7:55 PM
Kiran MohantyPosted Mar 5, 2021, 12:23 PM