All Downloads are FREE. Search and download functionalities are using the official Maven repository.

se.ansman.kotshi.PrimitiveAdapters.kt Maven / Gradle / Ivy

package se.ansman.kotshi

/**
 * Flag for enabling/disabling the use of adapters for primitive types.
 */
enum class PrimitiveAdapters {
    /**
     * Follow the module default ([KotshiJsonAdapterFactory]).
     */
    DEFAULT,

    /**
     * Use adapters for primitive types (including boxed/nullable primitives).
     */
    ENABLED,

    /**
     * Don't use adapters for primitive types (including boxed/nullable primitives).
     */
    DISABLED
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy