public class JSONPathFieldSpec extends Object
| Constructor and Description |
|---|
JSONPathFieldSpec(JSONPathFieldType type,
String name,
String expr) |
JSONPathFieldSpec(JSONPathFieldType type,
String name,
String expr,
List<String> nodes) |
| Modifier and Type | Method and Description |
|---|---|
static JSONPathFieldSpec |
createJqField(String name,
String expr) |
static JSONPathFieldSpec |
createNestedField(String name,
String expr) |
static JSONPathFieldSpec |
createRootField(String name) |
static JSONPathFieldSpec |
createTreeField(String name,
List<String> nodes) |
boolean |
equals(Object o) |
static JSONPathFieldSpec |
fromString(String name) |
static String |
getCompilePath(String expr) |
String |
getExpr() |
String |
getName() |
List<String> |
getNodes() |
JSONPathFieldType |
getType() |
int |
hashCode() |
String |
toString() |
public JSONPathFieldSpec(JSONPathFieldType type, String name, String expr, List<String> nodes)
public JSONPathFieldSpec(JSONPathFieldType type, String name, String expr)
public JSONPathFieldType getType()
public String getName()
public String getExpr()
public static JSONPathFieldSpec fromString(String name)
public static JSONPathFieldSpec createNestedField(String name, String expr)
public static JSONPathFieldSpec createJqField(String name, String expr)
public static JSONPathFieldSpec createRootField(String name)
public static JSONPathFieldSpec createTreeField(String name, List<String> nodes)
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.