reset();
JsonObject jsonObject = json.getAsJsonObject();
// NOTE: always check with has(...) as the json might not have all required
// fields set.
if (jsonObject.has("1")) {
ResponseStatusGsonImpl payload = new ResponseStatusGsonImpl();
GsonUtil.extractJsonObject(payload, jsonObject.get("1"), gson, raw);
setStatus(payload);
}
if (jsonObject.has("2")) {
JsonArray array = jsonObject.get("2").getAsJsonArray();