I have a piece of JSON like this:
{
"Site 1": [
{
"Stuff": [
"detergent",
"det1"
],
"productLine": "Hay",
"revenue": {
"1": 3123,
"2": 123123,
"3": 123123
}
},
{
"Stuff": [
"detergent",
"det2"
],
"productLine": "Machine",
"revenue": {
"1": 343123,
"2": 1231321323,
"3": 321
}
}
],
"Site 2": [
{
"Stuff": [
"detergent",
"det1"
],
"productLine": "Hay",
"revenue": {
"1": 111,
"2": 123123,
"3": 3213
}
},
{
"Stuff": [
"detergent",
"det2"
],
"productLine": "Machine",
"revenue": {
"1": 11123,
"2": 3255,
"3": 6575
}
}
]
}
I want to map this to C# class but my problem is the names Site1 and site2 are what I would think should be a class name? Is there a way to represent this as a C# object?