All Implemented Interfaces:
Evaluator<String>

public class JsonPathSetEvaluator extends JsonPathUpdateEvaluator
JsonPathSetEvaluator allows setting values at the specified existing path
  • Constructor Details

  • Method Details

    • updateAttribute

      public com.jayway.jsonpath.DocumentContext updateAttribute(com.jayway.jsonpath.DocumentContext documentContext, com.jayway.jsonpath.JsonPath jsonPath, Object value)
      Description copied from class: JsonPathUpdateEvaluator
      Update the attribute at the specified path. The subclasses will need to implement this method.
      Overrides:
      updateAttribute in class JsonPathUpdateEvaluator
      Parameters:
      documentContext - the document to be updated
      jsonPath - the path to update
      value - the value to be applied at the specified path
      Returns:
      the updated DocumentContext