LiquidBounce
Toggle table of contents
0.37.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
LiquidBounce
LiquidBounce
/
net.ccbluex.liquidbounce.config.gson.adapter
/
CodecBasedAdapter
Codec
Based
Adapter
class
CodecBasedAdapter
<
T
>
(
codec
:
Codec
<
T
>
)
:
JsonSerializer
<
T
>
,
JsonDeserializer
<
T
>
Fabric Documentation
Members
Constructors
Codec
Based
Adapter
Link copied to clipboard
constructor
(
codec
:
Codec
<
T
>
)
Types
Companion
Link copied to clipboard
object
Companion
Functions
deserialize
Link copied to clipboard
open
override
fun
deserialize
(
jsonElement
:
JsonElement
?
,
type
:
Type
,
jsonDeserializationContext
:
JsonDeserializationContext
)
:
T
?
serialize
Link copied to clipboard
open
override
fun
serialize
(
t
:
T
?
,
type
:
Type
,
jsonSerializationContext
:
JsonSerializationContext
)
:
JsonElement
?