- All Superinterfaces:
org.springframework.core.convert.converter.Converter<String,Object[]>
public interface JsonToObjectArrayConverter
extends org.springframework.core.convert.converter.Converter<String,Object[]>
Spring
Converter interface extension defining a contract to convert
JSON
to an array of
Objects.
- Since:
- 1.3.0
- See Also:
-
-
Method Summary
Converts the array of
bytes containing JSON into an array of
Objects.
Methods inherited from interface org.springframework.core.convert.converter.Converter
andThen, convert
-
Method Details
-
convert
@NonNull
default Object[] convert(@NonNull
byte[] json)
Converts the array of
bytes containing JSON into an array of
Objects.
- Parameters:
json - array of bytes containing the JSON to convert; must not be null.
- Returns:
- an array of
Objects converted from the array of bytes containing JSON.
- See Also:
-
Converter.convert(Object)