Version2Custom Type Adapter To Adapter
An Adapter that wraps an Apollo Android v2 style CustomTypeAdapter, to ease migration from v2 to v3.
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