Class PrimitiveModifierMethod

    • Constructor Detail

      • PrimitiveModifierMethod

        public PrimitiveModifierMethod()
    • Method Detail

      • doModification

        public com.jayway.jsonpath.DocumentContext doModification​(com.jayway.jsonpath.DocumentContext documentContext,
                                                                  String expression,
                                                                  ParameterList modifierMethodParameterList)
        Description copied from interface: ModifierMethod
        Modification for Complex Objects that are serialized using JsonPath.
        Specified by:
        doModification in interface ModifierMethod
        Parameters:
        documentContext - Serialized Object Structure with JsonPath
        expression - JsonPath Expression to adress a specific element/attribute in the json.
        modifierMethodParameterList - Values used for modification.
        Returns:
        DocumentContext