public class JsonUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String |
EXCEPTION_MESSAGE_KEY_UNKNOWN_OPERATOR |
Constructor and Description |
---|
JsonUtil() |
Modifier and Type | Method and Description |
---|---|
static com.fasterxml.jackson.databind.ObjectMapper |
createObjectMapper() |
static boolean |
evaluateJsonExpression(com.fasterxml.jackson.databind.JsonNode contextNode,
String attributeExpression) |
static com.fasterxml.jackson.databind.JsonNode |
parseJson(File file) |
static com.fasterxml.jackson.databind.JsonNode |
parseJson(InputStream jsonStream) |
static com.fasterxml.jackson.databind.JsonNode |
parseJson(JasperReportsContext jasperReportsContext,
String location) |
public static final String EXCEPTION_MESSAGE_KEY_UNKNOWN_OPERATOR
public static boolean evaluateJsonExpression(com.fasterxml.jackson.databind.JsonNode contextNode, String attributeExpression) throws JRException
JRException
public static com.fasterxml.jackson.databind.ObjectMapper createObjectMapper()
public static com.fasterxml.jackson.databind.JsonNode parseJson(File file) throws JRException
JRException
public static com.fasterxml.jackson.databind.JsonNode parseJson(JasperReportsContext jasperReportsContext, String location) throws JRException
JRException
public static com.fasterxml.jackson.databind.JsonNode parseJson(InputStream jsonStream) throws JRException
JRException
Copyright © 2016. All rights reserved.