Launcher/ServerWrapper/src/main/java/pro/gravit/launcher/server/ServerWrapperGsonManager.java

14 lines
433 B
Java

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