I can't for the life of me figure this out. I'm sorta new to JsonFX but I have a simple array populating a List in an object, but when I go to do a list with keys to populate a List of objects, the object gets added, but none of the values get populated.
"DateAdded":null,"History":{"CustomerHistory":[{"user":"Joe Bob","info":"created this customer from the admin section","time":1316119532}]},"Status":1,"Names":["Jim","",""]
Above, CustomerHistory is a list and it works, but user, info and time do not populate, they are empty. Names works fine.
public int DateAdded;
public List<CustomerHistory> History = new List<CustomerHistory>();
public int Status;
public List<string> Names = new List<string>();
public class CustomerHistory
{
[JsonName("user")]
public string User;
[JsonName("info")]
public string Info;
[JsonName("time")]
public int Time;
}
Any idea as to what I'm doing wrong here?