JSONArray rowsJSON = crosstabDefinitionJSON.optJSONArray(CrosstabSerializationConstants.ROWS);
//Assert.assertTrue(rows != null && rows.length() > 0, "No rows specified!");
if (rowsJSON != null) {
for (int i = 0; i < rowsJSON.length(); i++) {
JSONObject obj = (JSONObject) rowsJSON.get(i);
rows.add(crosstabDefinition.new Row(
obj.getString(CrosstabSerializationConstants.ID),
obj.getString(CrosstabSerializationConstants.ALIAS),
obj.getString(CrosstabSerializationConstants.ICON_CLS),
obj.getString(CrosstabSerializationConstants.NATURE)));
}