Package net.thisptr.jackson.jq.internal
Class JsonQueryFunction
java.lang.Object
net.thisptr.jackson.jq.internal.JsonQueryFunction
- All Implemented Interfaces:
Function
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJsonQueryFunction
(String name, List<String> params, Expression body, Scope closure) -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(Scope scope, List<Expression> args, com.fasterxml.jackson.databind.JsonNode in, Path path, PathOutput output, Version version) private void
pathRecursive
(PathOutput output, Scope fnScope, Scope scope, List<Expression> args, com.fasterxml.jackson.databind.JsonNode in, Path path, int i)
-
Field Details
-
body
-
params
-
name
-
closure
-
-
Constructor Details
-
JsonQueryFunction
-
-
Method Details
-
apply
public void apply(Scope scope, List<Expression> args, com.fasterxml.jackson.databind.JsonNode in, Path path, PathOutput output, Version version) throws JsonQueryException - Specified by:
apply
in interfaceFunction
- Throws:
JsonQueryException
-
pathRecursive
private void pathRecursive(PathOutput output, Scope fnScope, Scope scope, List<Expression> args, com.fasterxml.jackson.databind.JsonNode in, Path path, int i) throws JsonQueryException - Throws:
JsonQueryException
-