Package-level declarations

Types

Link copied to clipboard
class AnyMessageTypeAdapter(gson: Gson, typeUrlToAdapter: Map<String, ProtoAdapter<*>>) : TypeAdapter<AnyMessage>
Link copied to clipboard
class WireTypeAdapterFactory @JvmOverloads constructor(typeUrlToAdapter: Map<String, ProtoAdapter<*>> = mapOf(), writeIdentityValues: Boolean = false) : TypeAdapterFactory

A TypeAdapterFactory that allows Wire messages to be serialized and deserialized using the GSON Json library. To create a Gson instance that works with Wire, use the com.google.gson.GsonBuilder interface: