java.lang.Object
com.pervasive.datarush.json.SerializationBridge<T>
- Type Parameters:
T- Must be a json-serializable type
- All Implemented Interfaces:
Serializable
This class serves as a wrapper for an object that is json serializable such
that it can be java-serialized.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> SerializationBridge<T>bridge(T object) Creates a bridge for the given json-serializable object.Returns the underlying object
-
Method Details
-
bridge
Creates a bridge for the given json-serializable object.- Type Parameters:
T- the type of the json-serializable object- Parameters:
object- the object to serialize or null- Returns:
- a bridge or null if the given object is null
-
getObject
Returns the underlying object- Returns:
- the underyling object
-