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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> T
static <T> T
readValue
(InputStream bytes, Class<T> type) static <T> T
static byte[]
writeValueAsBytes
(Object obj) static String
writeValueAsString
(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
-