Package com.alibaba.fastjson.parser
Enum Feature
- All Implemented Interfaces:
Serializable
,Comparable<Feature>
,java.lang.constant.Constable
- Author:
- wenshao[[email protected]]
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription{"a":1,,,"b":2} -
Field Summary
Fields -
Method Summary
-
Enum Constant Details
-
AutoCloseSource
-
AllowComment
-
AllowUnQuotedFieldNames
-
AllowSingleQuotes
-
InternFieldNames
-
AllowISO8601DateFormat
-
AllowArbitraryCommas
{"a":1,,,"b":2} -
UseBigDecimal
-
IgnoreNotMatch
- Since:
- 1.1.2
-
SortFeidFastMatch
- Since:
- 1.1.3
-
DisableASM
- Since:
- 1.1.3
-
DisableCircularReferenceDetect
- Since:
- 1.1.7
-
InitStringFieldAsEmpty
- Since:
- 1.1.10
-
SupportArrayToBean
- Since:
- 1.1.35
-
OrderedField
- Since:
- 1.2.3
-
DisableSpecialKeyDetect
- Since:
- 1.2.5
-
UseObjectArray
- Since:
- 1.2.9
-
SupportNonPublicField
- Since:
- 1.2.22, 1.1.54.android
-
IgnoreAutoType
- Since:
- 1.2.29
disable autotype key '@type'
-
DisableFieldSmartMatch
- Since:
- 1.2.30
disable field smart match, improve performance in some scenarios.
-
SupportAutoType
- Since:
- 1.2.41, backport to 1.1.66.android
-
NonStringKeyAsString
- Since:
- 1.2.42
-
CustomMapDeserializer
- Since:
- 1.2.45
-
ErrorOnEnumNotMatch
- Since:
- 1.2.55
-
TrimStringFieldValue
- Since:
- 2.0.4
-
SupportClassForName
- Since:
- 2.0.4
-
ErrorOnNotSupportAutoType
- Since:
- 2.0.6
-
UseNativeJavaObject
-
-
Field Details
-
mask
public final int mask
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
isEnabled
-
config
-
of
-
getMask
public final int getMask()
-