Interface WebSocketSafeTypeEncoder.TypeToJsonEncoder<T>
- Type Parameters:
T- The type of the object to encode.
- All Superinterfaces:
Codec<de.craftsblock.craftscore.json.Json,,T> Encoder<de.craftsblock.craftscore.json.Json,,T> WebSocketSafeTypeEncoder<de.craftsblock.craftscore.json.Json,T>
- Enclosing interface:
- WebSocketSafeTypeEncoder<R,
T>
@Experimental
public static non-sealed interface WebSocketSafeTypeEncoder.TypeToJsonEncoder<T>
extends WebSocketSafeTypeEncoder<de.craftsblock.craftscore.json.Json,T>
An encoder that transforms a specific input type into a
Json representation,
typically for use with text-based WebSocket frames.- Since:
- 3.5.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.craftsblock.craftsnet.api.websocket.codec.WebSocketSafeTypeEncoder
WebSocketSafeTypeEncoder.TypeToByteArrayEncoder<T>, WebSocketSafeTypeEncoder.TypeToByteBufferEncoder<T>, WebSocketSafeTypeEncoder.TypeToJsonEncoder<T>, WebSocketSafeTypeEncoder.TypeToStringEncoder<T> -
Method Summary