Package com.github.underscore
Enum U.JsonToXmlMode
-
- All Implemented Interfaces:
public enum U.JsonToXmlMode
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FORCE_ATTRIBUTE_USAGE
DEFINE_ROOT_NAME
REPLACE_NULL_WITH_EMPTY_VALUE
REPLACE_EMPTY_STRING_WITH_EMPTY_VALUE
ADD_ROOT
REMOVE_ARRAY_ATTRIBUTE
REMOVE_ATTRIBUTES
-
Method Summary
Modifier and Type Method Description static Array<U.JsonToXmlMode>
values()
Returns an array containing the constants of this enum type, in the order they're declared. static U.JsonToXmlMode
valueOf(String name)
Returns the enum constant of this type with the specified name. -
-
Method Detail
-
values
static Array<U.JsonToXmlMode> values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.
- Returns:
an array containing the constants of this enum type, in the order they're declared
-
valueOf
static U.JsonToXmlMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
- Returns:
the enum constant with the specified name
-
-
-
-