public class JacksonJsonPathQuery extends Object implements SpinJsonPathQuery
| Modifier and Type | Field and Description |
|---|---|
protected JacksonJsonDataFormat |
dataFormat |
protected com.jayway.jsonpath.JsonPath |
query |
protected SpinJsonNode |
spinJsonNode |
| Constructor and Description |
|---|
JacksonJsonPathQuery(JacksonJsonNode jacksonJsonNode,
com.jayway.jsonpath.JsonPath query,
JacksonJsonDataFormat dataFormat) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
boolValue()
Fetches the boolean value from the result of JsonPath.
|
SpinJsonNode |
element()
Fetches the node from the result of JsonPath.
|
SpinList<SpinJsonNode> |
elementList()
Fetches the list of nodes from the result of JsonPath.
|
Number |
numberValue()
Fetches the number value from the result of JsonPath.
|
String |
stringValue()
Fetches the string value from the result of JsonPath.
|
protected final SpinJsonNode spinJsonNode
protected final com.jayway.jsonpath.JsonPath query
protected final JacksonJsonDataFormat dataFormat
public JacksonJsonPathQuery(JacksonJsonNode jacksonJsonNode, com.jayway.jsonpath.JsonPath query, JacksonJsonDataFormat dataFormat)
public SpinJsonNode element()
SpinJsonPathQueryelement in interface SpinJsonPathQuerySpinJsonNode representation of the found nodepublic SpinList<SpinJsonNode> elementList()
SpinJsonPathQueryelementList in interface SpinJsonPathQuerySpinList list of found nodespublic String stringValue()
SpinJsonPathQuerystringValue in interface SpinJsonPathQuerypublic Number numberValue()
SpinJsonPathQuerynumberValue in interface SpinJsonPathQuerypublic Boolean boolValue()
SpinJsonPathQueryboolValue in interface SpinJsonPathQueryCopyright © 2014–2020 Camunda Services GmbH. All rights reserved.