stringSerializer

inline fun <T> stringSerializer(crossinline decode: (String) -> T, crossinline encode: (T) -> String = { it.toString() }, nameOverride: String? = null): KSerializer<T>(source)