Interface GsonComponentSerializer.Provider
- Enclosing interface:
- GsonComponentSerializer
@Internal
public static interface GsonComponentSerializer.Provider
A
GsonComponentSerializer
service provider.- Since:
- 4.8.0
-
Method Summary
Modifier and Type Method Description @NotNull Consumer<GsonComponentSerializer.Builder>
builder()
Completes the building process ofGsonComponentSerializer.Builder
.@NotNull GsonComponentSerializer
gson()
Provides a standardGsonComponentSerializer
.@NotNull GsonComponentSerializer
gsonLegacy()
Provides a legacyGsonComponentSerializer
.
-
Method Details
-
gson
Provides a standardGsonComponentSerializer
.- Returns:
- a
GsonComponentSerializer
- Since:
- 4.8.0
-
gsonLegacy
Provides a legacyGsonComponentSerializer
.- Returns:
- a
GsonComponentSerializer
- Since:
- 4.8.0
-
builder
Completes the building process ofGsonComponentSerializer.Builder
.- Returns:
- a
Consumer
- Since:
- 4.8.0
-