Package org.jboss.resteasy.jose.jws.util
Class JsonSerialization
java.lang.Object
org.jboss.resteasy.jose.jws.util.JsonSerialization
Copied from keycloak
Any class that extends JsonWebToken will use NON_DEFAULT inclusion
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Tstatic <T> TreadValue(InputStream bytes, Class<T> type) static <T> Tstatic byte[]writeValueAsBytes(Object obj) static StringwriteValueAsString(Object obj)
-
Field Details
-
mapper
public static final com.fasterxml.jackson.databind.ObjectMapper mapper
-
-
Constructor Details
-
JsonSerialization
public JsonSerialization()
-
-
Method Details
-
writeValueAsString
- Throws:
IOException
-
writeValueAsBytes
- Throws:
IOException
-
readValue
- Throws:
IOException
-
readValue
- Throws:
IOException
-
readValue
- Throws:
IOException
-