"inputs": {
"input1": {
"value": "abc"
},
"input2": {
"value": "cde"
},
"input3": {
"value": "efg"
},
"input4": {
"value": "ghi"
},
}
Here number of properties in "inputs" may vary. How can I deserialize this into class:
class Inputs
{
public Input[] Values{get; set;}
}
class Input
{
public string input {get; set;}
}
One option is to change the json "inputs" as an array, but I dont have that choice now