package com.softwaremill.session.javadsl;

import com.softwaremill.session.JValueSessionSerializer$;
import com.softwaremill.session.SessionSerializer;
import org.json4s.DefaultFormats$;
import org.json4s.JsonAST;

/**
 * Wrapper for session transports in com.softwaremill.session.JValueSessionSerializer
 */
public final class JwtSessionSerializers {

    public static final DefaultFormats$ DefaultUtcDateFormat = DefaultFormats$.MODULE$;

    public static final SessionSerializer<String, JsonAST.JValue> StringToJValueSessionSerializer = JValueSessionSerializer$.MODULE$.stringToJValueSessionSerializer();
    public static final SessionSerializer IntToJValueSessionSerializer = JValueSessionSerializer$.MODULE$.intToJValueSessionSerializer();
    public static final SessionSerializer LongToJValueSessionSerializer = JValueSessionSerializer$.MODULE$.longToJValueSessionSerializer();
    public static final SessionSerializer FloatToJValueSessionSerializer = JValueSessionSerializer$.MODULE$.floatToJValueSessionSerializer();
    public static final SessionSerializer DoubleToJValueSessionSerializer = JValueSessionSerializer$.MODULE$.doubleToJValueSessionSerializer();

    private JwtSessionSerializers() {
    }

}

@@ -644,16 +644,41 @@
 rializer
+%3CInteger, JsonAST.JValue%3E
  IntToJV
@@ -692,32 +692,97 @@
 sionSerializer =
+ (SessionSerializer%3CInteger, JsonAST.JValue%3E) (SessionSerializer)
  JValueSessionSe
@@ -872,16 +872,38 @@
 rializer
+%3CLong, JsonAST.JValue%3E
  LongToJ
@@ -918,32 +918,94 @@
 sionSerializer =
+ (SessionSerializer%3CLong, JsonAST.JValue%3E) (SessionSerializer)
  JValueSessionSe
@@ -1096,16 +1096,39 @@
 rializer
+%3CFloat, JsonAST.JValue%3E
  FloatTo
@@ -1144,32 +1144,95 @@
 sionSerializer =
+ (SessionSerializer%3CFloat, JsonAST.JValue%3E) (SessionSerializer)
  JValueSessionSe
@@ -1324,16 +1324,40 @@
 rializer
+%3CDouble, JsonAST.JValue%3E
  DoubleT
@@ -1374,32 +1374,96 @@
 sionSerializer =
+ (SessionSerializer%3CDouble, JsonAST.JValue%3E) (SessionSerializer)
  JValueSessionSe

set types for JWT Serializers