| Package | Description |
|---|---|
| com.api.jsonata4java | |
| com.api.jsonata4java.expressions | |
| com.api.jsonata4java.expressions.path |
| Modifier and Type | Method and Description |
|---|---|
void |
Expression.assign(String varname,
String expression)
Assign the expression (variable or function declaration) to the variable name
supplied
|
com.fasterxml.jackson.databind.JsonNode |
Expression.evaluate(com.fasterxml.jackson.databind.JsonNode rootContext)
Generate a result form the Expression's parsed expression and variable
assignments or registered functions
|
com.fasterxml.jackson.databind.JsonNode |
Expression.evaluate(com.fasterxml.jackson.databind.JsonNode rootContext,
com.fasterxml.jackson.databind.JsonNode bindingObj)
Generate a result form the Expression's parsed expression and variable
assignments or registered functions specified in the bindings object
|
com.fasterxml.jackson.databind.JsonNode |
Expression.evaluate(com.fasterxml.jackson.databind.JsonNode rootContext,
List<Binding> bindings)
Generate a result form the Expression's parsed expression and variable
assignments or registered functions specified in the list of bindings
|
static Expression |
Expression.jsonata(String expression)
Genearte a new Expression based on evaluating the supplied expression
|
void |
Expression.registerFunction(String fctName,
String implementation)
Registers a function implementation (declaration) by name
|
| Constructor and Description |
|---|
Binding(String expression)
Constructor using a variable assignment expression
|
Binding(String varName,
String expression)
Constructor using a variable name and either a variable or function
declaration expression
|
Expression(String expression)
Constructor for Expression
|
| Modifier and Type | Method and Description |
|---|---|
static Expressions |
Expressions.parse(String mappingExpression) |
| Modifier and Type | Method and Description |
|---|---|
static PathExpression |
PathExpression.parse(String expr) |
Copyright © 2022. All rights reserved.