Package org.nuxeo.ecm.restapi.test
Class JsonNodeHelper
java.lang.Object
org.nuxeo.ecm.restapi.test.JsonNodeHelper
- Since:
- 2023.13
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<com.fasterxml.jackson.databind.JsonNode>
getEntries
(com.fasterxml.jackson.databind.JsonNode node) static List<com.fasterxml.jackson.databind.JsonNode>
getEntries
(String expectedEntityType, com.fasterxml.jackson.databind.JsonNode node) static int
getEntriesSize
(com.fasterxml.jackson.databind.JsonNode node) static int
getEntriesSize
(String expectedEntityType, com.fasterxml.jackson.databind.JsonNode node) static String
getErrorMessage
(com.fasterxml.jackson.databind.JsonNode node) static boolean
hasErrorMessage
(com.fasterxml.jackson.databind.JsonNode node)
-
Method Details
-
getEntries
public static List<com.fasterxml.jackson.databind.JsonNode> getEntries(com.fasterxml.jackson.databind.JsonNode node) -
getEntries
-
getEntriesSize
public static int getEntriesSize(com.fasterxml.jackson.databind.JsonNode node) -
getEntriesSize
public static int getEntriesSize(String expectedEntityType, com.fasterxml.jackson.databind.JsonNode node) -
getErrorMessage
-
hasErrorMessage
public static boolean hasErrorMessage(com.fasterxml.jackson.databind.JsonNode node)
-