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 intgetEntriesSize(com.fasterxml.jackson.databind.JsonNode node) static intgetEntriesSize(String expectedEntityType, com.fasterxml.jackson.databind.JsonNode node) static StringgetErrorMessage(com.fasterxml.jackson.databind.JsonNode node) static intgetErrorStatus(com.fasterxml.jackson.databind.JsonNode node) static booleanhasErrorMessage(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
-
getErrorStatus
public static int getErrorStatus(com.fasterxml.jackson.databind.JsonNode node) - Since:
- 2025.9
-
hasErrorMessage
public static boolean hasErrorMessage(com.fasterxml.jackson.databind.JsonNode node)
-