public interface JsonToObjectConverter
extends org.springframework.core.convert.converter.Converter<java.lang.String,java.lang.Object>
Converter interface extension defining a contract to convert
from JSON to an Object (POJO).Object,
String,
Converter| Modifier and Type | Method and Description |
|---|---|
default java.lang.Object |
convert(byte[] json)
Converts the array of
bytes containing JSON into an Object (POJO). |
@NonNull
default java.lang.Object convert(@NonNull
byte[] json)
bytes containing JSON into an Object (POJO).json - array of bytes containing JSON to convert into an Object (POJO);
must not be null.Object (POJO) converted from the array of bytes containing JSON.Converter.convert(Object)