idRanges

fun idRanges(ids: List<Long>): JSONArray(source)

Ids as inclusive ranges, [first,last,…], ascending: how "these rows still exist" is sent on sync so a client can drop what was deleted (SMS and call ids are mostly consecutive, so this stays small).