ObjectAdapter
class ObjectAdapter<T>(wrappedAdapter: Adapter<T>, buffered: Boolean) : Adapter<@JvmSuppressWildcards T>
Content copied to clipboard
Constructors
Functions
Link copied to clipboard
open override fun fromJson(reader: JsonReader, customScalarAdapters: CustomScalarAdapters): T
Content copied to clipboard
Deserializes the given Json to the expected Kotlin type.
Link copied to clipboard
open override fun toJson( writer: JsonWriter, customScalarAdapters: CustomScalarAdapters, value: T)
Content copied to clipboard
Serializes a Kotlin type into its equivalent Json representation.