toJsonPrimitiveOrNull

fun String?.toJsonPrimitiveOrNull(): JsonPrimitive?