MCPcopy Create free account
hub / github.com/jwtk/jjwt / serialize

Method serialize

api/src/main/java/io/jsonwebtoken/io/Serializer.java:37–37  ·  view source on GitHub ↗

Converts the specified Java object into a formatted data byte array. @param t the object to serialize @return the serialized byte array representing the specified object. @throws SerializationException if there is a problem converting the object to a byte array. @deprecated since 0.12.0 in favor of

(T t)

Source from the content-addressed store, hash-verified

35 * @deprecated since 0.12.0 in favor of {@link #serialize(Object, OutputStream)}
36 */
37 @Deprecated
38 byte[] serialize(T t) throws SerializationException;
39
40 /**

Callers 5

writeAndCloseMethod · 0.65
UNSAFE_JSONMethod · 0.65
doSerializeMethod · 0.65
serializeMethod · 0.65
serializeMethod · 0.65

Implementers 3

AbstractSerializerapi/src/main/java/io/jsonwebtoken/io/A
JacksonSupplierSerializerextensions/jackson/src/main/java/io/js
GsonSupplierSerializerextensions/gson/src/main/java/io/jsonw

Calls

no outgoing calls

Tested by

no test coverage detected