Class POJOHelper
- java.lang.Object
-
- org.apache.syncope.core.provisioning.api.serialization.POJOHelper
-
public final class POJOHelper extends Object
Helper class for serialization and deserialization of configuration objects (POJOs) in JSON.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> T
convertValue(Object value, Class<T> reference)
static <T> T
deserialize(String serialized, TypeReference<T> reference)
static <T> T
deserialize(String serialized, Class<T> reference)
static String
serialize(Object object)
static <T> String
serialize(T object, TypeReference<T> reference)
-
-
-
Method Detail
-
serialize
public static <T> String serialize(T object, TypeReference<T> reference)
-
deserialize
public static <T> T deserialize(String serialized, TypeReference<T> reference)
-
-