
se.ansman.kotshi.PrimitiveAdapters.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api Show documentation
Show all versions of api Show documentation
An annotations processor that generates Moshi adapters from Kotlin data classes
The newest version!
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