Class JsonPathExecution

java.lang.Object
com.adaptris.core.common.Execution
com.adaptris.core.json.JsonPathExecution

@ComponentProfile(summary="Extract a JSON Path from the source and write it into the target", tag="json") public class JsonPathExecution extends Execution
  • Constructor Details

  • Method Details

    • getSuppressPathNotFound

      public Boolean getSuppressPathNotFound()
      Returns:
      true or false.
    • setSuppressPathNotFound

      public void setSuppressPathNotFound(Boolean b)
      Suppress exceptions caused by PathNotFoundException.
      Parameters:
      b - to suppress exceptions arising from a json path not being found; default is null (false).
    • suppressPathNotFound

      public boolean suppressPathNotFound()
    • getNullConverter

      public NullConverter getNullConverter()
      Returns:
      the nullConverter
    • setNullConverter

      public void setNullConverter(NullConverter nc)
      Specify the behaviour when a null is encountered during json path execution.
      Parameters:
      nc - the NullConverter to set, the default is return "null" as the value.
    • nullConverter

      public NullConverter nullConverter()
    • withNullConverter

      public JsonPathExecution withNullConverter(NullConverter nc)
    • withSuppressPathNotFound

      public JsonPathExecution withSuppressPathNotFound(Boolean b)