surf-api
Toggle table of contents
1.21.4-2.1.3-SNAPSHOT
jvm
Platform filter
jvm
Switch theme
Search in API
surf-api
surf-api-core-api
/
dev.slne.surf.surfapi.core.api.config.serializer
/
SpongeConfigSerializers
/
ComponentSerializer
Component
Serializer
class
ComponentSerializer
:
TypeSerializer
<
Component
>
Serializer for
Component
objects in Sponge configurations.
Members
Constructors
Component
Serializer
Link copied to clipboard
constructor
(
)
Functions
deserialize
Link copied to clipboard
open
override
fun
deserialize
(
type
:
Type
?
,
node
:
ConfigurationNode
)
:
Component
empty
Value
Link copied to clipboard
open
fun
emptyValue
(
specificType
:
Type
,
options
:
ConfigurationOptions
)
:
@
Nullable
Component
?
serialize
Link copied to clipboard
open
override
fun
serialize
(
type
:
Type
?
,
obj
:
Component
?
,
node
:
ConfigurationNode
)