Package net.thisptr.jackson.jq.internal
Class JsonQueryFunction
- java.lang.Object
-
- net.thisptr.jackson.jq.internal.JsonQueryFunction
-
-
Constructor Summary
Constructors Constructor Description JsonQueryFunction(java.lang.String name, java.util.List<java.lang.String> params, Expression body, Scope closure)
-
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 path, PathOutput output, Version version)
private void
pathRecursive(PathOutput output, Scope fnScope, Scope scope, java.util.List<Expression> args, com.fasterxml.jackson.databind.JsonNode in, Path path, int i)
-
-
-
Field Detail
-
body
private Expression body
-
params
private java.util.List<java.lang.String> params
-
name
private java.lang.String name
-
closure
private Scope closure
-
-
Constructor Detail
-
JsonQueryFunction
public JsonQueryFunction(java.lang.String name, java.util.List<java.lang.String> params, Expression body, Scope closure)
-
-
Method Detail
-
apply
public void apply(Scope scope, java.util.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, java.util.List<Expression> args, com.fasterxml.jackson.databind.JsonNode in, Path path, int i) throws JsonQueryException
- Throws:
JsonQueryException
-
-