}
private static JsonValue serializeJson(Object value,
ConnectorTracker connectorTracker) {
JSONSerializer serializer = customSerializers.get(value.getClass());
return serializer.serialize(value, connectorTracker);
}
private static JsonArray toJsonArray(String[] array) {
JsonArray jsonArray = Json.createArray();
for (int i = 0; i < array.length; ++i) {