Object Adapter
class ObjectAdapter<T>(wrappedAdapter: Adapter<T>, buffered: Boolean) : Adapter<@JvmSuppressWildcards T>
Functions
Link copied to clipboard
Deserializes the given Json to the expected Kotlin type.
Link copied to clipboard
Serializes a Kotlin type into its equivalent Json representation.
Link copied to clipboard
fun <T> Adapter<T>.toJsonString(value: T, customScalarAdapters: CustomScalarAdapters = CustomScalarAdapters.Empty, indent: String? = null): String