public class ByteArrayToJsonNodeConverter extends Object implements ContentTypeConverter<byte[],com.fasterxml.jackson.databind.JsonNode>
| Constructor and Description | 
|---|
ByteArrayToJsonNodeConverter(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Initialize the Converter, using given  
objectMapper to parse the binary contents | 
| Modifier and Type | Method and Description | 
|---|---|
com.fasterxml.jackson.databind.JsonNode | 
convert(byte[] original)
Converts the given object into another. 
 | 
Class<byte[]> | 
expectedSourceType()
The expected type of input data. 
 | 
Class<com.fasterxml.jackson.databind.JsonNode> | 
targetType()
The returned type of IntermediateRepresentation 
 | 
public ByteArrayToJsonNodeConverter(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
objectMapper to parse the binary contentsobjectMapper - the Jackson ObjectMapper to parse the byte array withpublic Class<byte[]> expectedSourceType()
ContentTypeConverterexpectedSourceType in interface ContentTypeConverter<byte[],com.fasterxml.jackson.databind.JsonNode>public Class<com.fasterxml.jackson.databind.JsonNode> targetType()
ContentTypeConvertertargetType in interface ContentTypeConverter<byte[],com.fasterxml.jackson.databind.JsonNode>public com.fasterxml.jackson.databind.JsonNode convert(byte[] original)
ContentTypeConverterSerializedObject
 instance.convert in interface ContentTypeConverter<byte[],com.fasterxml.jackson.databind.JsonNode>original - the value to convertCopyright © 2010–2018. All rights reserved.