public interface JsonToObjectArrayConverter
extends org.springframework.core.convert.converter.Converter<java.lang.String,java.lang.Object[]>
Converter
interface extension defining a contract to convert JSON
to an array of Objects
.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 array of Objects . |
@NonNull default java.lang.Object[] convert(@NonNull byte[] json)
bytes
containing JSON into an array of Objects
.json
- array of bytes
containing the JSON to convert; must not be null.Objects
converted from the array of bytes
containing JSON.Converter.convert(Object)