Package org.keycloak.common.util
Class StringSerialization
java.lang.Object
org.keycloak.common.util.StringSerialization
Utilities to serialize objects to string. Type safety is not guaranteed here and is responsibility of the caller.
- Author:
- hmlnarik
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(String what) static String
Serialize given objects as strings separated bySEPARATOR
according to the#WELL_KNOWN_SERIALIZERS
.
-
Constructor Details
-
StringSerialization
public StringSerialization()
-
-
Method Details
-
serialize
Serialize given objects as strings separated bySEPARATOR
according to the#WELL_KNOWN_SERIALIZERS
.- Parameters:
toSerialize
-- Returns:
-
deserialize
-