how to deserialize this json to objects of orders in C#
{
"d": "{
"success": true,
"errorMessage": null,
"data": {
"Orders": [
{
"OrderID": 4914194,
"FacilityID": 1398,
"FacilityOrderID": "",
"StatusID": "F",
"Contract": true,
"PermPlacement": false,
"ShiftDate": "08/05/2019",
"StartTime": "08:00:00",
"EndTime": "17:00:00",
"Meals": 30,
"Con_StartDate": "08/05/2019",
"Con_EndDate": "02/01/2020",
"Locked": true,
"LastModified": "2020-01-04 17:11:45",
"CreatedDate": "2019-06-17 13:39:00",
"FacilityName": "Carilion Roanoke Memorial Hospital",
"ScheduledRegID": 0,
"ScheduledRegName": "",
"ClassName": "RAD3",
"ClassDesc": "Rad Tech Specialty 2",
"AltClassName": "",
"AltClassDesc": "",
"CodeName": "1",
"ShiftNumber": 1,
"AreaID": 30799,
"AreaName": "Cardiology Clinic Outpatient",
"AreaAddress1": "",
"AreaAddress2": "",
"AreaCity": "",
"AreaCounty": "",
"AreaState": "",
"AreaZip": "",
"LockReason": "Position is filled, awaiting credentials",
"CancelReason": "",
"Note": "Registered Echo Sonographer. 8 or 9 hours per day, 40 hours per week. Vascular experience helpful.",
"IsTraveler": false,
"Rate": 0,
"ContractPattern": "Sun, Mon, Tue, Wed, Thu, Fri, Sat",
"Con_Guarantee": 0,
"Con_Weeks": 26
}
]
}"
}
}
I have tried JObject.selectToken and can't even get to any of the tokens
var jsContents = JObject.Parse(contents)
var jsOrder = jsContents.SelectToken("d.data.Orders[0]") // null
or
var exp = new JavaScriptSerializer().Deserialize<Order>(contents);