public interface OpenmrsSerializer
Modifier and Type | Method and Description |
---|---|
<T> T |
deserialize(String serializedObject,
Class<? extends T> clazz)
Deserialize the given string into a full object
|
String |
serialize(Object o)
Turn the current object into an identifying string that can be retrieved later
|
String serialize(Object o) throws SerializationException
o
- - the object to serializeSerializationException
<T> T deserialize(String serializedObject, Class<? extends T> clazz) throws SerializationException
serializedObject
- - String to deserializeclazz
- - The class to deserialize the Object intoSerializationException
Copyright © 2024 OpenMRS Inc.. All rights reserved.