Class FunctionPathToken
java.lang.Object
com.jayway.jsonpath.internal.path.PathToken
com.jayway.jsonpath.internal.path.FunctionPathToken
Token representing a Function call to one of the functions produced via the FunctionFactory
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidevaluate(String currentPath, PathRef parent, Object model, EvaluationContextImpl ctx) booleanReturn the actual value by indicating true.Methods inherited from class PathToken
equals, getTokenCount, handleArrayIndex, hashCode, invoke, isPathDefinite, toString
-
Constructor Details
-
FunctionPathToken
-
-
Method Details
-
evaluate
-
isTokenDefinite
public boolean isTokenDefinite()Return the actual value by indicating true. If this return was false then we'd return the value in an array which isn't what is desired - true indicates the raw value is returned.- Specified by:
isTokenDefinitein classPathToken- Returns:
-
getPathFragment
- Specified by:
getPathFragmentin classPathToken
-