I want to create class to deserialize following JSON. I have tried with http://json2csharp.com/ but it doesn't work.
JSON
{
"usertoken": "TqasdfgdSz0UleD-hdST5sigIE1MdOlKQ2HXrcvTwtCpveN9Fm",
"expires_sec": 12095,
"user": "testuser.com",
".expired": "Sat, 2 Jun 2018 09:25:00 GMT"
}
Tried with following class but issue in .expired
class member
public class Authentication
{
public string usertoken { get; set; }
public int expires_sec { get; set; }
public string user { get; set; }
public string .expired { get; set; } //.will not work here
}
Please suggest