I have a Json object coming into my WebApi. The structure can take any form. The only thing I know for certain is that somewhere in that structure (could be a top level node, could be a child node) I will have a node made up of:
"data": {
"mop": "1012346354462",
"fuelType": "E",
"Id": "1029dd56-10b1-46cb-9966-3c37e057a470",
"Status": "SecuredActive",
"StatusFromDate": "2020-11-20T17:00:00.000Z",
"ActiveDate": "2020-11-21T00:00:00.000Z",
"GeneratedReference": "1012346354462_1"
},
Can anyone help on how I can easily extract this bit of data from the JSon Object. I have a class that maps to these properties, but before I can use it I need to single this out from the rest of the JSON. I'm using C#