Class JsonSelectFunction

    • Constructor Detail

      • JsonSelectFunction

        public JsonSelectFunction()
    • Method Detail

      • evaluate

        public Object evaluate​(Object object)
        Evaluates this function against the provided object. If a NULL object is provided and attribute expression will be returned.
        Specified by:
        evaluate in interface Expression
        Overrides:
        evaluate in class FunctionExpressionImpl
        Returns:
        default implementation returns null
      • getJsonPath

        public String getJsonPath()
        Returns the JSON path to be selected.
      • getPropertyName

        public String getPropertyName()
        Description copied from interface: PropertyName
        Returns the name of the property whose value will be returned by the evaluate method.
        Specified by:
        getPropertyName in interface PropertyName
      • getNamespaceContext

        public NamespaceSupport getNamespaceContext()
        Description copied from interface: PropertyName
        Returns namespace context information, or null if unavailable/inapplicable
        Specified by:
        getNamespaceContext in interface PropertyName
        Returns:
        namespace context information, or null if unavailable/inapplicable