How i can deserialize custom type object

Jul 3, 2012 at 8:35 AM
Edited Jul 3, 2012 at 8:37 AM

This structure created on server side by php code and sended to my win application.

{
  [ 
    {   
      "ID": "141",   
      "type": "1",   
      "ts": null 
    }, 
    ...,
    {   
      "ID": "151",   
      "type": "5",   
      "ts": 1234567
    }
  ]
}

I have to create a suitable type, but all my experiments with lists and arrays crowned failure

Jul 3, 2012 at 8:51 AM
Edited Jul 3, 2012 at 8:52 AM

Got rid of the external structure of the brackets and is easy to unpack into List<myObjectType>. Sorry for the busy time