Class StringSerialization

java.lang.Object
org.keycloak.common.util.StringSerialization

public class StringSerialization extends Object
Utilities to serialize objects to string. Type safety is not guaranteed here and is responsibility of the caller.
Author:
hmlnarik
  • Constructor Details

    • StringSerialization

      public StringSerialization()
  • Method Details

    • serialize

      public static String serialize(Object... toSerialize)
      Serialize given objects as strings separated by SEPARATOR according to the #WELL_KNOWN_SERIALIZERS.
      Parameters:
      toSerialize -
      Returns:
    • deserialize

      public static StringSerialization.Deserializer deserialize(String what)