public class JSONParserUtils extends Object
Constructor and Description |
---|
JSONParserUtils() |
Modifier and Type | Method and Description |
---|---|
Boolean |
extractBooleanKeyword(com.fasterxml.jackson.databind.JsonNode node,
String keyword,
boolean isRequired) |
Double |
extractDoubleKeyword(com.fasterxml.jackson.databind.JsonNode node,
String keyword,
boolean isRequired) |
Integer |
extractIntKeyword(com.fasterxml.jackson.databind.JsonNode node,
String keyword,
boolean isRequired) |
String |
extractStringKeyword(com.fasterxml.jackson.databind.JsonNode node,
String keyword,
boolean isRequired) |
String |
getError() |
static String |
getNodeTypeAsString(com.fasterxml.jackson.databind.JsonNode node) |
public String getError()
public String extractStringKeyword(com.fasterxml.jackson.databind.JsonNode node, String keyword, boolean isRequired)
public Double extractDoubleKeyword(com.fasterxml.jackson.databind.JsonNode node, String keyword, boolean isRequired)
public Integer extractIntKeyword(com.fasterxml.jackson.databind.JsonNode node, String keyword, boolean isRequired)
public Boolean extractBooleanKeyword(com.fasterxml.jackson.databind.JsonNode node, String keyword, boolean isRequired)
public static String getNodeTypeAsString(com.fasterxml.jackson.databind.JsonNode node)
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.