public static enum Jsonator.EnumConversionMode extends Enum<Jsonator.EnumConversionMode>
| Enum Constant and Description | 
|---|
BEAN
Enums are converted just like Java beans. 
 | 
NAME_ONLY
Enums are converted to result of  
Enum.name. | 
| Modifier and Type | Method and Description | 
|---|---|
static Jsonator.EnumConversionMode | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static Jsonator.EnumConversionMode[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final Jsonator.EnumConversionMode NAME_ONLY
Enum.name.
 Consistent with SoyDataConverter.public static final Jsonator.EnumConversionMode BEAN
public static Jsonator.EnumConversionMode[] values()
for (Jsonator.EnumConversionMode c : Jsonator.EnumConversionMode.values()) System.out.println(c);
public static Jsonator.EnumConversionMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.