Launcher/ServerWrapper/src/main/java/pro/gravit/launcher/server/ServerWrapperGsonManager.java
2023-12-23 17:58:09 +07:00

17 lines
490 B
Java

package pro.gravit.launcher.server;
import com.google.gson.GsonBuilder;
import pro.gravit.launcher.core.managers.GsonManager;
import pro.gravit.launcher.base.request.websockets.ClientWebSocketService;
public class ServerWrapperGsonManager extends GsonManager {
public ServerWrapperGsonManager() {
}
@Override
public void registerAdapters(GsonBuilder builder) {
super.registerAdapters(builder);
ClientWebSocketService.appendTypeAdapters(builder);
}
}