APISonar


org.apache.geode.serialization.SerializationType.JSON

> org > apache > geode > serialization > SerializationType > JSON
org APIs apache APIs geode APIs serialization APIs SerializationType APIs JSON APIs

Example 1
public static SerializationType getSerializationTypeForEncodingType(
      BasicTypes.EncodingType encodingType) throws UnsupportedEncodingTypeException {
    switch (encodingType) {
      case JSON:
        return SerializationType.JSON;
      default:
        throw new UnsupportedEncodingTypeException(
            "No serialization type found for protobuf encoding type: " + encodingType);
    }
  }