T
- the type of the payloadpublic interface Payload<T>
Modifier and Type | Method and Description |
---|---|
String |
asJson()
Transforms this payload to a JSON String representation.
|
T |
fromJson(String json)
Transforms the passed in
String JSON representation into this payloads type. |
String asJson()
String
the payload as a JSON String representationCopyright © 2015 JBoss by Red Hat. All Rights Reserved.