protected fun nativeToData(data: dynamic, dataSerializer: KSerializer<T>): List<T>
Converts a native JS array to the list of objects of type T