spinjar.com.jayway.jsonpath.internal.function.PassthruPathFunction Maven / Gradle / Ivy
package com.jayway.jsonpath.internal.function;
import com.jayway.jsonpath.internal.EvaluationContext;
import com.jayway.jsonpath.internal.PathRef;
import java.util.List;
/**
* Defines the default behavior which is to return the model that is provided as input as output
*
* Created by mattg on 6/26/15.
*/
public class PassthruPathFunction implements PathFunction {
@Override
public Object invoke(String currentPath, PathRef parent, Object model, EvaluationContext ctx, List parameters) {
return model;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy