mirror of https://github.com/jlelse/teleposter
5 lines
156 B
Kotlin
5 lines
156 B
Kotlin
|
package telegra.ph
|
||
|
|
||
|
import org.json.JSONArray
|
||
|
|
||
|
operator fun JSONArray.iterator(): Iterator<Any> = (0 until length()).asSequence().map { opt(it) }.iterator()
|