A - the type of object to serializepublic static interface GrpcObjectSerializer.Serializer<A>
A.| Modifier and Type | Method and Description |
|---|---|
<T> SerializedObject<T> |
serialize(A object,
Class<T> expectedRepresentation)
Serialize the given
object into an object of the expectedRepresentation. |
<T> SerializedObject<T> serialize(A object, Class<T> expectedRepresentation)
object into an object of the expectedRepresentation.T - the type of the SerializedObject to returnobject - the object of type A to serializeexpectedRepresentation - the type to serialize the given object toSerializedObject of expectedRepresentation based on the given objectCopyright © 2010–2023. All rights reserved.