Maybe this is simple, but I'm missing how to do this. I'm using GSON, kotlin, and retrofit
Data.json
{
"array1":[1,2],
"array2":[1,2]
}
DataObject.kt
data class DataObject(array1: List<Int>, array2: List<Int>)
The the above fails to deserialize the arrays.