I'm not able to get rows list....it is coming null from below code.
public class ParsingTest1
{
public ParsingTest1()
{
String jsstring = '{"totalsForAllResults": {"users": "2"}, "rows":
[["San Francisco","358","375"],["San Jose","358","375"],["Mid
Peninsula","358","375"],["Greater Bay","358","375"],["Los
Angeles","358","375"]]}';
Test1Wrapper tw = new Test1Wrapper();
tw =
(Test1Wrapper)System.JSON.deserialize(jsstring,Test1Wrapper.class);
system.debug('Result : '+tw);
}
public class Test1Wrapper
{
public map<string,string> totalsForAllResults { get; set;}
public list<rows> r1 { get; set; }
}
public class rows
{
public string n1 { get; set; }
public string s1 { get; set; }
public string s2 { get; set; }
}
}