utility method that serializes the meta data of the given message using given serializer and expectedrepresentation . this method will verify if the eventmessage is serializationaware . concode_field_sep Serializer serializer concode_field_sep SerializedType typeForClass concode_elem_sep SerializedObject<T> serialize concode_elem_sep ConverterFactory getConverterFactory concode_elem_sep SerializedObject<T> serializePayload concode_elem_sep SerializedObject<T> serializePayload concode_elem_sep boolean canSerializeTo concode_elem_sep Class classForType concode_elem_sep T deserialize
SerializedObject < T > function ( Message < ? > arg0 , Serializer arg1 , Class < T > arg2 ) { if ( arg0 instanceof SerializationAware ) { return ( ( SerializationAware ) arg0 ) . serializeMetaData ( arg1 , arg2 ) ; } return arg1 . serialize ( arg0 . getMetaData ( ) , arg2 ) ; }