Package net.dv8tion.jda.api.utils.data
Interface SerializableData
-
- All Known Subinterfaces:
VoiceDispatchInterceptor.VoiceUpdate
- All Known Implementing Classes:
DataObject
,GuildAction.ChannelData
,GuildAction.RoleData
,MessageEmbed
,VoiceDispatchInterceptor.VoiceServerUpdate
,VoiceDispatchInterceptor.VoiceStateUpdate
public interface SerializableData
Allows custom serialization for JSON payloads of an object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataObject
toData()
SerializedDataObject
for this object.
-
-
-
Method Detail
-
toData
@Nonnull DataObject toData()
SerializedDataObject
for this object.- Returns:
DataObject
-
-