Class LengthFunction
java.lang.Object
net.thisptr.jackson.jq.internal.functions.LengthFunction
- All Implemented Interfaces:
Function
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(Scope scope, List<Expression> args, com.fasterxml.jackson.databind.JsonNode in, Path ipath, PathOutput output, Version version) com.fasterxml.jackson.databind.JsonNode
length
(com.fasterxml.jackson.databind.JsonNode in)
-
Constructor Details
-
LengthFunction
public LengthFunction()
-
-
Method Details
-
apply
public void apply(Scope scope, List<Expression> args, com.fasterxml.jackson.databind.JsonNode in, Path ipath, PathOutput output, Version version) throws JsonQueryException - Specified by:
apply
in interfaceFunction
- Throws:
JsonQueryException
-
length
public com.fasterxml.jackson.databind.JsonNode length(com.fasterxml.jackson.databind.JsonNode in) throws JsonQueryException - Throws:
JsonQueryException
-