JsonArray sensorArray = controllerDescription
.getJsonArray("sensors");
if (sensorArray != null) {
for (JsonNumber sensorId : sensorArray
.getValuesAs(JsonNumber.class)) {
controller.attachSensor(sensorMap.get(sensorId
.intValue()));
}
}
JsonArray actuatorArray = controllerDescription
.getJsonArray("actuators");