Interface Json.EnumMapping<T>
- Type Parameters:
T- the enumeration type to map
- Enclosing class:
Json
public static interface Json.EnumMapping<T>
Specifies the mapping of an enumeration for serialization/deserialization.
- Author:
- Holger Eichelberger, SSE
-
Method Summary
-
Method Details
-
addMapping
Adds a mapping.- Parameters:
name- the namevalue- the mapped value
-
getType
Returns the enum type.- Returns:
- the enum type
-