toJsonElements

@JvmName(name = "stringListToJsonElements")
fun List<String>.toJsonElements(): List<JsonElement>(source)

Extension function to convert List to List for enum values. Used for backward compatibility in constructors.


@JvmName(name = "numberListToJsonElements")
fun List<Number>.toJsonElements(): List<JsonElement>(source)

Extension function to convert List to List for enum values. Used for backward compatibility in NumericPropertyDefinition constructors.


@JvmName(name = "booleanListToJsonElements")
fun List<Boolean>.toJsonElements(): List<JsonElement>(source)

Extension function to convert List to List for enum values. Used for backward compatibility in BooleanPropertyDefinition constructors.