Class LengthFunction
- java.lang.Object
-
- net.thisptr.jackson.jq.internal.functions.LengthFunction
-
- All Implemented Interfaces:
Function
@AutoService(Function.class) public class LengthFunction extends java.lang.Object implements Function
-
-
Constructor Summary
Constructors Constructor Description LengthFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(Scope scope, java.util.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)
-
-
-
Method Detail
-
apply
public void apply(Scope scope, java.util.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
-
-