public class ToJson extends AbstractFunction
| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
converter, evaluator, executor, logger, parser, resourceLoader| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<EvalNode> |
execute(Context context,
List<EvalNode> args)
Method returns
CompletableFuture with result of execution. |
String |
getName()
Return function name
|
checkMaxArgsLength, checkMinArgsLength, checkTypes, checkTypes, clearGlobal, createCtx, getLongValue, getValue, getValue, isAsync, isClearpublic static final String NAME
public ToJson(Converter converter)
public String getName()
Functionpublic CompletableFuture<EvalNode> execute(Context context, List<EvalNode> args) throws FunctionExecutionException
FunctionCompletableFuture with result of execution.context - args - arguments from Histone template [VALUE NODE, ignored nodes...]FunctionExecutionExceptionCopyright © 2017. All rights reserved.