EnumWithCaseConventionSerializer
constructor(enumName: String, entries: EnumEntries<E>, pgConvention: CaseConvention = CaseConvention.SNAKE_CASE_UPPER, kotlinConvention: CaseConvention = CaseConvention.PASCAL_CASE)
Parameters
E
The enum class to be serialized.
enumName
A unique identifier for the enum in the serialization descriptor.
entries
The list of all enum values (typically provided via EnumClass.entries).
pgConvention
The naming convention used in the database (default: SNAKE_CASE_UPPER).
kotlinConvention
The naming convention used in your Kotlin code (default: PASCAL_CASE).