Class JsonTranscoder
java.lang.Object
org.infinispan.commons.dataconversion.AbstractTranscoder
org.infinispan.commons.dataconversion.OneToManyTranscoder
org.infinispan.server.core.dataconversion.JsonTranscoder
- All Implemented Interfaces:
Transcoder
- Since:
- 9.2
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final org.infinispan.util.logging.Log
static final String
Fields inherited from class org.infinispan.commons.dataconversion.OneToManyTranscoder
mainType, supportedTypes
-
Constructor Summary
ConstructorDescriptionJsonTranscoder
(ClassLoader classLoader, ClassAllowList allowList) JsonTranscoder
(ClassAllowList allowList) -
Method Summary
Modifier and TypeMethodDescriptiondoTranscode
(Object content, MediaType contentType, MediaType destinationType) static boolean
isValidJson
(byte[] content, Charset charset) Methods inherited from class org.infinispan.commons.dataconversion.OneToManyTranscoder
getSupportedMediaTypes, supportsConversion
Methods inherited from class org.infinispan.commons.dataconversion.AbstractTranscoder
decodeContent, encodeContent, transcode
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.infinispan.commons.dataconversion.Transcoder
supports
-
Field Details
-
logger
protected static final org.infinispan.util.logging.Log logger -
TYPE_PROPERTY
- See Also:
-
-
Constructor Details
-
JsonTranscoder
public JsonTranscoder() -
JsonTranscoder
-
JsonTranscoder
-
-
Method Details
-
doTranscode
- Specified by:
doTranscode
in classAbstractTranscoder
-
isValidJson
-