moshi
/
com.squareup.moshi
/
JsonClass
Json
Class
@
Retention
(
value =
)
@
Documented
()
annotation class
JsonClass
Content copied to clipboard
Customizes how a type is encoded as JSON.
Functions
Functions
annotationType
Link copied to clipboard
abstract fun
annotationType
():
Class
<out
Annotation
>
Content copied to clipboard
equals
Link copied to clipboard
abstract fun
equals
(p:
Any
):
Boolean
Content copied to clipboard
generateAdapter
Link copied to clipboard
abstract fun
generateAdapter
():
Boolean
Content copied to clipboard
True to trigger the annotation processor to generate an adapter for this type.
generator
Link copied to clipboard
abstract fun
generator
():
String
Content copied to clipboard
An optional custom generator tag used to indicate which generator should be used.
hashCode
Link copied to clipboard
abstract fun
hashCode
():
Int
Content copied to clipboard
toString
Link copied to clipboard
abstract fun
toString
():
String
Content copied to clipboard