NepaliDatePickerSerializersModule

Ready-to-register SerializersModule for every data type the library publishes.

Wires the default serializers - SimpleDateSerializer (string form), SimpleTimeSerializer, CustomCalendarSerializer, NepaliMonthCalendarSerializer, MonthCalendarSerializer, CalendarSystemSerializer, and the holiday trio NepaliCalendarEventSerializer, NepaliEventKindSerializer and NepaliDayStatusSerializer, so a fetched holiday list caches the same way a date does.

Usage with kotlinx-serialization-json:

val json = Json {
serializersModule = NepaliDatePickerSerializersModule
}

If you prefer the JSON-object form of SimpleDate, replace this module's binding with SimpleDateStructSerializer in your own SerializersModule copy.