enumOf

public static IKeyDeserializer<T> enumOf<T extends Enum<? extends Object>>(Class<T> enumClass)

Produce an IKeyDeserializer that deserializes an enum of type {@param }

Return

A new deserializer for that enum type

Parameters

enumClass

The class of the enum to deserialize