public abstract class JSONBean extends Object implements Serializable
JsonNode.| Modifier and Type | Field and Description |
|---|---|
protected ObjectMapper |
mapper |
protected JsonNode |
node |
| Constructor and Description |
|---|
JSONBean() |
| Modifier and Type | Method and Description |
|---|---|
protected JsonNode |
nodeAt(String expression)
Convenience method to call
JsonNode.at(String). |
protected String |
textAt(String expression)
Convenience method to get text for a node.
|
String |
toString() |
protected ObjectMapper mapper
public JSONBean()
protected JsonNode nodeAt(String expression)
JsonNode.at(String).expression - The String respresentation of the
JsonPointer.JsonNode that matches given
JsonPointer: if no match
exists, will return a JsonNode for which
TreeNode.isMissingNode()
returns true.protected String textAt(String expression)
nodeAt(String).expression - See nodeAt(String).JsonNode.asText() of nodeAt(String).Copyright © 2015–2020 Allen D. Ball. All rights reserved.