Class Index
java.lang.Object
com.jayway.jsonpath.internal.function.sequence.AbstractSequenceAggregation
com.jayway.jsonpath.internal.function.sequence.Index
- All Implemented Interfaces:
PathFunction
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected inttargetIndex(EvaluationContext ctx, List<Parameter> parameters) Methods inherited from class com.jayway.jsonpath.internal.function.sequence.AbstractSequenceAggregation
getIndexFromParameters, invoke
-
Constructor Details
-
Index
public Index()
-
-
Method Details
-
targetIndex
- Specified by:
targetIndexin classAbstractSequenceAggregation
-