Package net.dv8tion.jda.api.utils.data
Interface SerializableData
-
- All Known Subinterfaces:
Button
,Component
,ComponentLayout
,SelectionMenu
,VoiceDispatchInterceptor.VoiceUpdate
- All Known Implementing Classes:
ActionRow
,BaseCommand
,CommandData
,CommandPrivilege
,DataObject
,Emoji
,GuildAction.ChannelData
,GuildAction.RoleData
,MessageEmbed
,OptionData
,SelectOption
,SubcommandData
,SubcommandGroupData
,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
-
-