vncore / com.venuenext.vncore.util / kotlin.String

Extensions for kotlin.String

serializerSafe

Ensures a JSON string is safe for the given serializer.

fun <T : Any> String.serializerSafe(serializer: KSerializer<T>?): String