Class JsonUtil


  • public class JsonUtil
    extends Object
    Author:
    Narcis Marcu (narcism@users.sourceforge.net)
    • Field Detail

      • EXCEPTION_MESSAGE_KEY_UNKNOWN_OPERATOR

        public static final String EXCEPTION_MESSAGE_KEY_UNKNOWN_OPERATOR
        See Also:
        Constant Field Values
    • Constructor Detail

      • JsonUtil

        public JsonUtil()
    • Method Detail

      • evaluateJsonExpression

        public static boolean evaluateJsonExpression​(com.fasterxml.jackson.databind.JsonNode contextNode,
                                                     String attributeExpression)
                                              throws JRException
        Throws:
        JRException
      • createObjectMapper

        public static com.fasterxml.jackson.databind.ObjectMapper createObjectMapper()
      • parseJson

        public static com.fasterxml.jackson.databind.JsonNode parseJson​(File file)
                                                                 throws JRException
        Throws:
        JRException