public static enum JSONPathParser.FieldType extends Enum<JSONPathParser.FieldType>
| Enum Constant and Description |
|---|
PATH
A PATH field uses a JsonPath expression to retrieve the field value
|
ROOT
A ROOT field is read directly from the JSON document root without using the JsonPath library.
|
| Modifier and Type | Method and Description |
|---|---|
static JSONPathParser.FieldType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JSONPathParser.FieldType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JSONPathParser.FieldType ROOT
public static final JSONPathParser.FieldType PATH
public static JSONPathParser.FieldType[] values()
for (JSONPathParser.FieldType c : JSONPathParser.FieldType.values()) System.out.println(c);
public static JSONPathParser.FieldType 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 © 2016. All rights reserved.