use of com.torodb.backend.converters.array.ArrayConverter in project torodb by torodb.
the class BaseArrayValueToJsonConverter method toValue.
@SuppressWarnings({ "rawtypes", "unchecked" })
@Override
public KvArray toValue(JsonArray value) {
List<KvValue<?>> list = new ArrayList<>(value.size());
for (JsonValue child : value) {
ArrayConverter converter = valueToArrayConverterProvider.fromJsonValue(child);
list.add(converter.fromJsonValue(child));
}
return new ListKvArray(list);
}
Aggregations