public static class EventDeserializer.EventPart
extends java.lang.Object
EventDeserializer.extractDataFrom(Object) to retrieve an instance of this class.| Modifier and Type | Method and Description |
|---|---|
<M> M |
as() |
<T> T |
as(java.lang.Class<T> clazz)
Deserialize this part of event from JSON to an object of type T
|
<T> java.util.List<T> |
asListOf(java.lang.Class<T> clazz)
Deserialize this part of event from JSON to a list of objects of type T
|
public <T> T as(java.lang.Class<T> clazz)
T - type of object to returnclazz - the target type for deserializationpublic <M> M as()
public <T> java.util.List<T> asListOf(java.lang.Class<T> clazz)
T - type of object to returnclazz - the target type for deserializationCopyright © 2023. All rights reserved.