Package io.github.haibiiin.json.repair
Enum JSONRepairConfig.Property
- java.lang.Object
-
- java.lang.Enum<JSONRepairConfig.Property>
-
- io.github.haibiiin.json.repair.JSONRepairConfig.Property
-
- All Implemented Interfaces:
Serializable,Comparable<JSONRepairConfig.Property>
- Enclosing class:
- JSONRepairConfig
public static enum JSONRepairConfig.Property extends Enum<JSONRepairConfig.Property>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXTRACT_JSONMAX_TRY_TIMES
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JSONRepairConfig.PropertyvalueOf(String name)Returns the enum constant of this type with the specified name.static JSONRepairConfig.Property[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXTRACT_JSON
public static final JSONRepairConfig.Property EXTRACT_JSON
-
MAX_TRY_TIMES
public static final JSONRepairConfig.Property MAX_TRY_TIMES
-
-
Method Detail
-
values
public static JSONRepairConfig.Property[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (JSONRepairConfig.Property c : JSONRepairConfig.Property.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JSONRepairConfig.Property 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.)- 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
-
-