public class JsonPathSetEvaluator extends JsonPathUpdateEvaluator
valueEvaluatorEMPTY_RESULT, JSON_PROVIDER, jsonPathExp, precompiledJsonPathExp, STRICT_PROVIDER_CONFIGURATION, subject| Constructor and Description |
|---|
JsonPathSetEvaluator(Evaluator<String> subject,
Evaluator<String> jsonPathExp,
Evaluator<?> valueEvaluator) |
| Modifier and Type | Method and Description |
|---|---|
com.jayway.jsonpath.DocumentContext |
updateAttribute(com.jayway.jsonpath.DocumentContext documentContext,
com.jayway.jsonpath.JsonPath jsonPath,
Object value)
Update the attribute at the specified path.
|
evaluatecompileJsonPathExpression, getDocumentContext, getJsonPath, getResultRepresentation, getSubjectEvaluator, isJsonScalar, validateAndEstablishJsonContextgetEvaluationsRemaining, getResultType, getToken, setTokenpublic com.jayway.jsonpath.DocumentContext updateAttribute(com.jayway.jsonpath.DocumentContext documentContext,
com.jayway.jsonpath.JsonPath jsonPath,
Object value)
JsonPathUpdateEvaluatorupdateAttribute in class JsonPathUpdateEvaluatordocumentContext - the document to be updatedjsonPath - the path to updatevalue - the value to be applied at the specified pathCopyright © 2022 Apache NiFi Project. All rights reserved.