Interface JSONComponentSerializer.Provider
-
- Enclosing interface:
- JSONComponentSerializer
@Internal @PlatformAPI public static interface JSONComponentSerializer.Provider
AJSONComponentSerializer
service provider.- Since:
- 4.14.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull java.util.function.Supplier<@NotNull JSONComponentSerializer.Builder>
builder()
Provide a supplier for builder builders ofJSONComponentSerializer
instances.@NotNull JSONComponentSerializer
instance()
Provides a standardJSONComponentSerializer
.
-
-
-
Method Detail
-
instance
@Internal @PlatformAPI @NotNull @NotNull JSONComponentSerializer instance()
Provides a standardJSONComponentSerializer
.- Returns:
- a
JSONComponentSerializer
- Since:
- 4.14.0
-
builder
@Internal @PlatformAPI @NotNull @NotNull java.util.function.Supplier<@NotNull JSONComponentSerializer.Builder> builder()
Provide a supplier for builder builders ofJSONComponentSerializer
instances.- Returns:
- a
JSONComponentSerializer
- Since:
- 4.14.0
-
-