I am having trouble in serializing an Object using Newton.Json, when I used breakpoints to debug, I found my serialized object is empty while the object provided to serializer is intact.
I have attached the Screen Shots.
EDIT : Here is the Class whose list I am trying to serialize.
class ArgumentGroup
{
String argumentGroupName = "";
String argumentDescription = "";
int argumentCount = 0;
List<Argument> argumentList = new List<Argument>();
public ArgumentGroup(string argumentGroupName, string argumentDescription, int argumentCount, List<Argument> argumentList)
{
this.argumentGroupName = argumentGroupName;
this.argumentDescription = argumentDescription;
this.argumentCount = argumentCount;
this.argumentList = argumentList;
}
}