I'm coming from a node.js javascript everywhere upbringing. Learning .NET and struggling mightily with the strongly typed aspect of it. What is the quickest way to convert a large JSON object:
var body = new {
"stay": {
"checkIn": "2016-06-08",
"checkOut": "2016-06-10",
"shiftDays": "2"
},
"occupancies": [
{
"rooms": 1,
"adults": 2,
"children": 1,
"paxes": [
{
"type": "AD",
"age": 30
},
{
"type": "AD",
"age": 30
},
{
"type": "CH",
"age": 8
}
]
}
],
"geolocation": {
"longitude": 2.646633999999949,
"latitude": 39.57119,
"radius": 20,
"unit": "km"
}
};
Into something that can be read in Visual Studio?