Search in sources :

Example 1 with EnumSerializer

use of software.amazon.awssdk.iot.EnumSerializer in project aws-greengrass-nucleus by aws-greengrass.

the class IotJobsClientWrapper method addTypeAdapters.

private void addTypeAdapters(GsonBuilder gson) {
    gson.registerTypeAdapter(JobStatus.class, new EnumSerializer());
    gson.registerTypeAdapter(RejectedErrorCode.class, new EnumSerializer());
}
Also used : EnumSerializer(software.amazon.awssdk.iot.EnumSerializer)

Aggregations

EnumSerializer (software.amazon.awssdk.iot.EnumSerializer)1