Package com.adaptris.core.json
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 Summary
ConstructorDescriptionJsonPathExecution
(DataInputParameter<String> source, DataOutputParameter<String> target) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Specify the behaviour when a null is encountered during json path execution.void
Suppress exceptions caused byPathNotFoundException
.boolean
-
Constructor Details
-
JsonPathExecution
public JsonPathExecution() -
JsonPathExecution
-
-
Method Details
-
getSuppressPathNotFound
- Returns:
- true or false.
-
setSuppressPathNotFound
Suppress exceptions caused byPathNotFoundException
.- Parameters:
b
- to suppress exceptions arising from a json path not being found; default is null (false).
-
suppressPathNotFound
public boolean suppressPathNotFound() -
getNullConverter
- Returns:
- the nullConverter
-
setNullConverter
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
-
withNullConverter
-
withSuppressPathNotFound
-