Package org.keycloak.json
Interface KeycloakJsonMapper
- All Known Implementing Classes:
Jackson2JsonMapper
public interface KeycloakJsonMapper
Jackson-version-agnostic JSON mapper SPI. Each Jackson module provides an implementation
backed by its own ObjectMapper/JsonMapper. Discovered via
ServiceLoader
and cached statically in KeycloakJsonMapperFactory.-
Method Summary
Modifier and TypeMethodDescription<T> TconvertValue(Object fromValue, Class<T> toValueType) default int<T> T<T> TreadValue(InputStream src, Class<T> valueType) <T> Tbyte[]writeValueAsBytes(Object value) writeValueAsString(Object value)
-
Method Details
-
getPriority
default int getPriority() -
convertValue
-
readValue
- Throws:
IOException
-
readValue
- Throws:
IOException
-
readValue
- Throws:
IOException
-
writeValueAsBytes
- Throws:
IOException
-
writeValueAsString
- Throws:
IOException
-