Class _SubImplFunction
java.lang.Object
net.thisptr.jackson.jq.internal.functions._SubImplFunction
- 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) private static List
<com.fasterxml.jackson.databind.JsonNode> match
(com.fasterxml.jackson.databind.ObjectMapper mapper, OnigUtils.Pattern pattern, String inputText) private void
replaceAndConcat
(Scope scope, Stack<String> stack, PathOutput output, List<com.fasterxml.jackson.databind.JsonNode> match, Expression replaceExpr, com.fasterxml.jackson.databind.JsonNode in, Expression flags)
-
Constructor Details
-
_SubImplFunction
public _SubImplFunction()
-
-
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
-
replaceAndConcat
private void replaceAndConcat(Scope scope, Stack<String> stack, PathOutput output, List<com.fasterxml.jackson.databind.JsonNode> match, Expression replaceExpr, com.fasterxml.jackson.databind.JsonNode in, Expression flags) throws JsonQueryException - Throws:
JsonQueryException
-
match
private static List<com.fasterxml.jackson.databind.JsonNode> match(com.fasterxml.jackson.databind.ObjectMapper mapper, OnigUtils.Pattern pattern, String inputText)
-