public class OrgJsonSerializer<T> extends AbstractSerializer<T>
| Constructor and Description |
|---|
OrgJsonSerializer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doSerialize(T t,
OutputStream out) |
protected byte[] |
toBytes(Object o)
Deprecated.
not called by JJWT
|
protected String |
toString(Object o)
Serializes the specified org.json instance a JSON String.
|
serialize, serializeprotected void doSerialize(T t, OutputStream out) throws Exception
doSerialize in class AbstractSerializer<T>Exceptionprotected String toString(Object o)
o - the org.json instance to convert to a String@Deprecated protected byte[] toBytes(Object o)
o - the org.json instance to serializeCopyright © 2014–2024 jsonwebtoken.io. All rights reserved.