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
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
toDoubleArray
Link copied to clipboard
fun toDoubleArray(jsonArray: JsonArray?): List<Double>
Convert a JsonArray to a list of Double
toString
Link copied to clipboard
open fun toString(): String
toStringArray
Link copied to clipboard
fun toStringArray(jsonArray: JsonArray?): List<String>
Convert a JsonArray to a list of String