for (JsonValue jsonPartition : jsonPartitions) {
partitions.add(jsonPartition.asInt());
}
final JsonArray jsonClients = getArray(json, "clients");
for (JsonValue jsonClient : jsonClients) {
final SerializableClientEndPoint client = new SerializableClientEndPoint();
client.fromJson(jsonClient.asObject());
clients.add(client);
}
beans = new SerializableMXBeans();
beans.fromJson(getObject(json, "beans"));
memoryStats.fromJson(getObject(json, "memoryStats"));