AdapterMethod

abstract class AdapterMethod

Constructors

AdapterMethod
Link copied to clipboard
open fun AdapterMethod(type: Type, annotations: Set<out Annotation>, adapter: Any, method: Method, parameterCount: Int, adaptersOffset: Int, nullable: Boolean)

Functions

bind
Link copied to clipboard
open fun bind(moshi: Moshi, factory: JsonAdapter.Factory)
fromJson
Link copied to clipboard
open fun fromJson(moshi: Moshi, reader: JsonReader): Any
toJson
Link copied to clipboard
open fun toJson(moshi: Moshi, writer: JsonWriter, value: Any)

Properties

adapter
Link copied to clipboard
val adapter: Any
adaptersOffset
Link copied to clipboard
val adaptersOffset: Int
annotations
Link copied to clipboard
val annotations: Set<out Annotation>
jsonAdapters
Link copied to clipboard
val jsonAdapters: Array<JsonAdapter<out Any>>
method
Link copied to clipboard
val method: Method
nullable
Link copied to clipboard
val nullable: Boolean
type
Link copied to clipboard
val type: Type