I have 2 setups:
1
- container:
- ParamA
- ParamB
- ParamC
2
- container:
ParamA: X
ParamB: Y
ParamC: Z
In scenario 1 it seems to be deserialized into a class container with ParamA, ParamB, and ParamC.
public class Container
{
public string ParamA { get; set;}
public string ParamB { get; set;}
public string ParamC { get; set;}
}
But in Scenario 2 (note there's no '-' and it has a key/value set up with the key being anything) how would this be represented as an object?