JsonArray array = (JsonArray) json.getAsJsonObject().get("values");
for (JsonElement element : array)
{
JsonArray pair = element.getAsJsonArray();
dataPoints.add(new DataPoint(pair.get(0).getAsLong(), context.<DataPoint>deserialize(pair.get(1), dataPointValueClass)));
}
}
return new Results(name, tags, dataPoints, groupResults);
}