Interface JsonToPdxArrayConverter

All Superinterfaces:
org.springframework.core.convert.converter.Converter<String,org.apache.geode.pdx.PdxInstance[]>
All Known Implementing Classes:
JacksonJsonToPdxConverter
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface JsonToPdxArrayConverter extends org.springframework.core.convert.converter.Converter<String,org.apache.geode.pdx.PdxInstance[]>
A Spring Converter interface extension defining a contract to convert from JSON to an array of PdxInstance objects.
Since:
1.3.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    default org.apache.geode.pdx.PdxInstance[]
    convert(byte[] json)
    Converts the array of bytes containing JSON into an array of PdxInstance objects.

    Methods inherited from interface org.springframework.core.convert.converter.Converter

    andThen, convert
  • Method Details

    • convert

      @NonNull default org.apache.geode.pdx.PdxInstance[] convert(@NonNull byte[] json)
      Converts the array of bytes containing JSON into an array of PdxInstance objects.
      Parameters:
      json - array of bytes containing the JSON to convert; must not be null.
      Returns:
      an array of PdxInstance objects converted from the array of bytes containing JSON.
      See Also:
      • PdxInstance
      • Converter.convert(Object)