ConvertUtils

object ConvertUtils

Util class for converting properties.

Functions

convertDoubleArray
Link copied to clipboard
fun convertDoubleArray(value: List<Any>?): JsonArray
Convert a list into a JsonArray with double format
convertStringArray
Link copied to clipboard
fun convertStringArray(value: List<Any>?): JsonArray
Convert a list into a JsonArray with string format
toDoubleArray
Link copied to clipboard
fun toDoubleArray(jsonArray: JsonArray?): List<Double>
Convert a JsonArray to a list of Double
toStringArray
Link copied to clipboard
fun toStringArray(jsonArray: JsonArray?): List<String>
Convert a JsonArray to a list of String