sandeep
05/25/2017, 6:18 PMdalexander
05/25/2017, 6:21 PMoperator fun JsonArray.component1(): String { return this.get(0) }
and operator fun JsonArray.component2(): String { return this.get(1) }
If your array uses generics then the signatures will be a little bit more complex obviously.sandeep
05/25/2017, 6:22 PM