java.lang.Object
org.junitpioneer.jupiter.json.JacksonNode
- All Implemented Interfaces:
Node
A
Node implementation for Jackson 2.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final com.fasterxml.jackson.databind.JsonNodeprivate final com.fasterxml.jackson.databind.ObjectMapper -
Constructor Summary
ConstructorsConstructorDescriptionJacksonNode(com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.fasterxml.jackson.databind.JsonNode node) -
Method Summary
-
Field Details
-
objectMapper
private final com.fasterxml.jackson.databind.ObjectMapper objectMapper -
node
private final com.fasterxml.jackson.databind.JsonNode node
-
-
Constructor Details
-
JacksonNode
JacksonNode(com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.fasterxml.jackson.databind.JsonNode node)
-
-
Method Details
-
isArray
public boolean isArray() -
elements
-
toType
Description copied from interface:NodeConvert this node into the requestedtype -
getNode
Description copied from interface:NodeGet the node value with the given name. -
value
Description copied from interface:NodeGet the value of the node. -
toString
-