toJsonArray

fun List<*>.toJsonArray(): JsonArray

Converts a standard List to a JsonArray for internal API calls.