Interface GsonComponentSerializer.Provider
-
- Enclosing interface:
- GsonComponentSerializer
@Internal @PlatformAPI public static interface GsonComponentSerializer.ProviderAGsonComponentSerializerservice provider.- Since:
- 4.8.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull java.util.function.Consumer<GsonComponentSerializer.Builder>builder()Completes the building process ofGsonComponentSerializer.Builder.@NotNull GsonComponentSerializergson()Provides a standardGsonComponentSerializer.@NotNull GsonComponentSerializergsonLegacy()Provides a legacyGsonComponentSerializer.
-
-
-
Method Detail
-
gson
@Internal @PlatformAPI @NotNull @NotNull GsonComponentSerializer gson()
Provides a standardGsonComponentSerializer.- Returns:
- a
GsonComponentSerializer - Since:
- 4.8.0
-
gsonLegacy
@Internal @PlatformAPI @NotNull @NotNull GsonComponentSerializer gsonLegacy()
Provides a legacyGsonComponentSerializer.- Returns:
- a
GsonComponentSerializer - Since:
- 4.8.0
-
builder
@Internal @PlatformAPI @NotNull @NotNull java.util.function.Consumer<GsonComponentSerializer.Builder> builder()
Completes the building process ofGsonComponentSerializer.Builder.- Returns:
- a
Consumer - Since:
- 4.8.0
-
-