Class _SubImplFunction
- java.lang.Object
-
- net.thisptr.jackson.jq.internal.functions._SubImplFunction
-
- All Implemented Interfaces:
Function
@AutoService(Function.class) public class _SubImplFunction extends java.lang.Object implements Function
-
-
Constructor Summary
Constructors Constructor Description _SubImplFunction()
-
Method Summary
All Methods Static 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)
private static java.util.List<com.fasterxml.jackson.databind.JsonNode>
match(com.fasterxml.jackson.databind.ObjectMapper mapper, OnigUtils.Pattern pattern, java.lang.String inputText)
private void
replaceAndConcat(Scope scope, java.util.Stack<java.lang.String> stack, PathOutput output, java.util.List<com.fasterxml.jackson.databind.JsonNode> match, Expression replaceExpr, com.fasterxml.jackson.databind.JsonNode in, Expression flags)
-
-
-
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
-
replaceAndConcat
private void replaceAndConcat(Scope scope, java.util.Stack<java.lang.String> stack, PathOutput output, java.util.List<com.fasterxml.jackson.databind.JsonNode> match, Expression replaceExpr, com.fasterxml.jackson.databind.JsonNode in, Expression flags) throws JsonQueryException
- Throws:
JsonQueryException
-
match
private static java.util.List<com.fasterxml.jackson.databind.JsonNode> match(com.fasterxml.jackson.databind.ObjectMapper mapper, OnigUtils.Pattern pattern, java.lang.String inputText)
-
-