public <T> T set(Object jsonObject, Object newVal, Configuration configuration) {
        notNull(jsonObject, "json can not be null");
        notNull(configuration, "configuration can not be null");
        EvaluationContext evaluationContext = path.evaluate(jsonObject, jsonObject, configuration, true);
        for (PathRef updateOperation : evaluationContext.updateOperations()) {
            updateOperation.set(newVal, configuration);
        }
        return resultByConfiguration(jsonObject, configuration, evaluationContext);
    }
public < T > T set ( Object jsonObject , Object newVal , Configuration configuration ) { notNull ( jsonObject , "json can not be null" ) ; notNull ( configuration , "configuration can not be null" ) ; EvaluationContext evaluationContext = path . evaluate ( jsonObject , jsonObject , configuration , true ) ; for ( PathRef updateOperation : evaluationContext . updateOperations ( ) ) { updateOperation . set ( newVal , configuration ) ; } return resultByConfiguration ( jsonObject , configuration , evaluationContext ) ; }
Set the value this path points to in the provided jsonObject

@param jsonObject    a json object
@param configuration configuration to use
@param <T>           expected return type
@return the updated jsonObject or the path list to updated objects if option AS_PATH_LIST is set.