Class Index
- java.lang.Object
-
- com.jayway.jsonpath.internal.function.sequence.AbstractSequenceAggregation
-
- com.jayway.jsonpath.internal.function.sequence.Index
-
- All Implemented Interfaces:
PathFunction
public class Index extends AbstractSequenceAggregation
Take the index from first Parameter, then the item from collection of JSONArray by index Created by git9527 on 6/11/22.
-
-
Constructor Summary
Constructors Constructor Description Index()
-
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
-
-