I have this class as a clipped version:
public class SportTableRow { public Int32 Won { get; set; } public Int32 Lost { get; set; } public Int32 Drawn { get; set; } public Int32 For { get; set; } }
When I make a data call via WebAPI, it looks like this (cut again) ...
public List<SportTableRow> Get() { var options = .... var sport = .... var locationCode = ... return SportManager.GetOverallTable(sport, options, locationCode).TableRows; }
When I check the returned data in the debugger, you can see the properties in the list ...

But, when I call through the violinist, you can see that some properties are missing ...

... and it seems like any Int that is 0, and bool that are false, etc.
Do I need to install something in the current class or something in the JSON serializer?
source share