spinjar.com.jayway.jsonpath.internal.function.sequence.First Maven / Gradle / Ivy
package com.jayway.jsonpath.internal.function.sequence;
import com.jayway.jsonpath.internal.EvaluationContext;
import com.jayway.jsonpath.internal.function.Parameter;
import java.util.List;
/**
* Take the first item from collection of JSONArray
*
* Created by git9527 on 6/11/22.
*/
public class First extends AbstractSequenceAggregation {
@Override
protected int targetIndex(EvaluationContext ctx, List parameters) {
return 0;
}
}