ConvertUtils

Util class for converting properties.

object ConvertUtils

Functions

convertDoubleArray
Link copied to clipboard

Convert a list into a JsonArray with double format

fun convertDoubleArray(value: List<Any>?): JsonArray
convertStringArray
Link copied to clipboard

Convert a list into a JsonArray with string format

fun convertStringArray(value: List<Any>?): JsonArray
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toDoubleArray
Link copied to clipboard

Convert a JsonArray to a list of Double

fun toDoubleArray(jsonArray: JsonArray?): List<Double>
toString
Link copied to clipboard
open override fun toString(): String
toStringArray
Link copied to clipboard

Convert a JsonArray to a list of String

fun toStringArray(jsonArray: JsonArray?): List<String>