C# supports Tuples, but ... JSON doesn't have a tuple indicator, so it "does the best it can" and generates a type that isn't a tuple. If I correct the JSON (by removing the space from the name "OrderChanges ") and run it through a
JSON class generator[
^] you get this:
public class OrderChange
{
public int item1 { get; set; }
public List<int> item2 { get; set; }
}
public class RootObject
{
public int TEstId { get; set; }
public List<OrderChange> OrderChanges { get; set; }
}
Which is probably why you get a null - the classes just don't match.
I'd check where you got the JSON from - if it thinks it's exporting tuples, then it needs to be looked at.