JsonClass

@Retention(value = )
annotation class JsonClass

Customizes how a type is encoded as JSON.

Functions

annotationType
Link copied to clipboard
abstract fun annotationType(): Class<out Annotation>
equals
Link copied to clipboard
abstract fun equals(p: Any): Boolean
generateAdapter
Link copied to clipboard
abstract fun generateAdapter(): Boolean
True to trigger the annotation processor to generate an adapter for this type.
generator
Link copied to clipboard
abstract fun generator(): String
An optional custom generator tag used to indicate which generator should be used.
hashCode
Link copied to clipboard
abstract fun hashCode(): Int
toString
Link copied to clipboard
abstract fun toString(): String