org.keycloak.common.util

## 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

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `StringSerialization.Deserializer`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `StringSerialization()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static StringSerialization.Deserializer` | `deserialize(String what)`
    `static String` | `serialize(Object... toSerialize)` Serialize given objects as strings separated by `SEPARATOR` according to the `#WELL_KNOWN_SERIALIZERS`.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### StringSerialization

          public StringSerialization()

  - ### Method Detail

    - #### 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)

Copyright © 2020 JBoss by Red Hat. All rights reserved.