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