Skip to content

//wire-gson-support/com.squareup.wire

Package com.squareup.wire

Types

Name Summary
AnyMessageTypeAdapter [jvm]
class AnyMessageTypeAdapter(gson: Gson, typeUrlToAdapter: Map<String, ProtoAdapter<*>>) : TypeAdapter<AnyMessage>
WireTypeAdapterFactory [jvm]
class WireTypeAdapterFactory@JvmOverloadsconstructor(typeUrlToAdapter: Map<String, ProtoAdapter<*>>, writeIdentityValues: Boolean) : 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: