Class First
- java.lang.Object
-
- com.jayway.jsonpath.internal.function.sequence.AbstractSequenceAggregation
-
- com.jayway.jsonpath.internal.function.sequence.First
-
- All Implemented Interfaces:
PathFunction
public class First extends AbstractSequenceAggregation
Take the first item from collection of JSONArray Created by git9527 on 6/11/22.
-
-
Constructor Summary
Constructors Constructor Description First()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected inttargetIndex(EvaluationContext ctx, java.util.List<Parameter> parameters)-
Methods inherited from class com.jayway.jsonpath.internal.function.sequence.AbstractSequenceAggregation
getIndexFromParameters, invoke
-
-
-
-
Method Detail
-
targetIndex
protected int targetIndex(EvaluationContext ctx, java.util.List<Parameter> parameters)
- Specified by:
targetIndexin classAbstractSequenceAggregation
-
-