All Classes Interface Summary Class Summary Enum Summary Exception Summary
| Class |
Description |
| AbsFunction |
Returns the absolute value of the number parameter, i.e.
|
| AppendFunction |
|
| ArrayUtils |
|
| AverageFunction |
Always returns as a DoubleNode (regardless of input)
|
| Base64DecodeFunction |
From http://docs.jsonata.org/string-functions.html:
$base64decode()
Converts base 64 encoded bytes to a string, using a UTF-8 Unicode codepage.
|
| Base64EncodeFunction |
From http://docs.jsonata.org/string-functions.html:
$base64encode(str)
Converts an ASCII string to a base 64 representation.
|
| Binding |
Class mapping a variable name to a variable or function declaration
expression
|
| BooleanFunction |
From http://docs.jsonata.org/boolean-functions.html
$boolean(arg)
Casts the argument to a Boolean using the following rules:
Boolean: unchanged string: empty false string: non-empty true number: 0 false
number: non-zero true null: false array: empty false array: contains a member
that casts to true true array: all members cast to false false object: empty
false object: non-empty true function: (functions are not currently
supported) false
|
| BooleanUtils |
|
| BufferingErrorListener |
ANTLR error listener implementation for registration with lexers and parsers.
|
| CeilFunction |
http://docs.jsonata.org/numeric-functions.html
$ceil(number)
Returns the value of number rounded up to the nearest integer that is greater
than or equal to number.
|
| Constants |
|
| ContainsFunction |
From http://docs.jsonata.org/string-functions.html:
$contains(str, pattern)
Returns true if str is matched by pattern, otherwise it returns false.
|
| CountFunction |
|
| DateTimeUtils |
|
| DeclaredFunction |
|
| DistinctFunction |
From https://docs.jsonata.org/array-functions#distinct
$distinct(array)
Returns an array containing all the values from the array parameter,
but with any duplicates removed.
|
| EachFunction |
Returns an array containing the values return by the function when applied to
each key/value pair in the object.
The function parameter will get invoked with two arguments:
function(value, name)
where the value parameter is the value of each name/value pair in the object
and name is its name.
|
| ErrorFunction |
From http://docs.jsonata.org/string-functions.html:
$error(str)
Throws an error with the string as its message.
|
| EvalFunction |
From http://docs.jsonata.org/string-functions.html:
Signature: $eval(expr [, context])
Parses and evaluates the string expr which contains literal JSON or a JSONata expression using the current context as the context for evaluation.
|
| EvaluateException |
|
| EvaluateRuntimeException |
|
| ExistsFunction |
|
| Expression |
Class to provide embedding and extending JSONata features
|
| Expressions |
|
| ExpressionsVisitor |
|
| ExpressionsVisitor.SelectorArrayNode |
This is how we indicate to upstream operators that we are currently inside a
selection statement.
|
| FilterFunction |
From http://docs.jsonata.org/higher-order-functions#filter
Signature: $filter(array, function)
Returns an array containing only the values in the array parameter that
satisfy the function predicate (i.e.
|
| FloorFunction |
http://docs.jsonata.org/numeric-functions.html
$floor(number)
Returns the value of number rounded down to the nearest integer that is
smaller or equal to number.
|
| FormatBaseFunction |
From http://docs.jsonata.org/string-functions.html:
$formatBase(number [, radix])
Casts the number to a string and formats it to an integer represented in the
number base specified by the radix argument.
|
| FormatNumberFunction |
From http://docs.jsonata.org/string-functions.html:
$formatNumber(number, picture [, options])
Casts the number to a string and formats it to a decimal representation as
specified by the picture string.
|
| FrameEnvironment |
|
| FromMillisFunction |
From http://docs.jsonata.org/string-functions.html:
$fromMillis(number)
Convert a number representing milliseconds since the Unix Epoch (1 January,
1970 UTC) to a timestamp string in the ISO 8601 format.
|
| FromMillisZonedFunction |
From http://docs.jsonata.org/string-functions.html:
$fromMillis(number)
Convert a number representing milliseconds since the Unix Epoch (1 January,
1970 UTC) to a timestamp string in the ISO 8601 format.
|
| FunctionBase |
|
| FunctionUtils |
|
| IndexOfFunction |
|
| Issue180 |
|
| JoinFunction |
From http://docs.jsonata.org/string-functions.html:
$join(array[, separator])
Joins an array of component strings into a single concatenated string with
each component string separated by the optional separator parameter.
|
| JS4JDate |
Special object extends java.util.Date with special constructors
taking specific date formatted strings.
|
| JS4JUtils |
|
| JSONataUtils |
|
| JsonMergeUtils |
A utility for merging arbitrary JSON trees.
|
| KeysFunction |
From http://docs.jsonata.org/object-functions.html
$keys(object)
Returns the keys in an array of Strings.
|
| LengthFunction |
From http://docs.jsonata.org/string-functions.html:
$length(str)
Returns the number of characters in the string str.
|
| LookupFunction |
From http://docs.jsonata.org/object-functions.html
$lookup(object,key)
Returns the value corresponding to the key in the supplied object.
|
| LowercaseFunction |
From http://docs.jsonata.org/string-functions.html:
$lowercase(str)
Returns a string with all the characters of str converted to lowercase.
|
| MapFunction |
From http://docs.jsonata.org/higher-order-functions#map
Signature: $map(array, function)
Returns an array containing the results of applying the function parameter to
each value in the array parameter.
|
| MappingExpressionBaseListener |
This class provides an empty implementation of MappingExpressionListener,
which can be extended to create a listener which only needs to handle a subset
of the available methods.
|
| MappingExpressionBaseVisitor<T> |
This class provides an empty implementation of MappingExpressionVisitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.
|
| MappingExpressionLexer |
|
| MappingExpressionListener |
|
| MappingExpressionParser |
|
| MappingExpressionParser.Addsub_opContext |
|
| MappingExpressionParser.Array_constructorContext |
|
| MappingExpressionParser.ArrayContext |
|
| MappingExpressionParser.BooleanContext |
|
| MappingExpressionParser.Comp_opContext |
|
| MappingExpressionParser.Concat_opContext |
|
| MappingExpressionParser.ConditionalContext |
|
| MappingExpressionParser.Context_refContext |
|
| MappingExpressionParser.DescendantContext |
|
| MappingExpressionParser.EmptyValuesContext |
|
| MappingExpressionParser.Expr_to_eofContext |
|
| MappingExpressionParser.ExprContext |
|
| MappingExpressionParser.ExprListContext |
|
| MappingExpressionParser.ExprOrSeqContext |
|
| MappingExpressionParser.ExprOrSeqListContext |
|
| MappingExpressionParser.ExprValuesContext |
|
| MappingExpressionParser.Fct_chainContext |
|
| MappingExpressionParser.Field_valuesContext |
|
| MappingExpressionParser.FieldListContext |
|
| MappingExpressionParser.Function_callContext |
|
| MappingExpressionParser.Function_declContext |
|
| MappingExpressionParser.Function_execContext |
|
| MappingExpressionParser.IdContext |
|
| MappingExpressionParser.LogandContext |
|
| MappingExpressionParser.LogorContext |
|
| MappingExpressionParser.MembershipContext |
|
| MappingExpressionParser.Muldiv_opContext |
|
| MappingExpressionParser.NullContext |
|
| MappingExpressionParser.NumberContext |
|
| MappingExpressionParser.Object_constructorContext |
|
| MappingExpressionParser.ObjectContext |
|
| MappingExpressionParser.Op_orderbyContext |
|
| MappingExpressionParser.ParensContext |
|
| MappingExpressionParser.Parent_path_solitaryContext |
|
| MappingExpressionParser.Parent_pathContext |
|
| MappingExpressionParser.PathContext |
|
| MappingExpressionParser.RegexPatternContext |
|
| MappingExpressionParser.Regular_expression_caseinsensitiveContext |
|
| MappingExpressionParser.Regular_expression_multilineContext |
|
| MappingExpressionParser.Regular_expressionContext |
|
| MappingExpressionParser.RegularExpressionCaseInsensitiveContext |
|
| MappingExpressionParser.RegularExpressionContext |
|
| MappingExpressionParser.RegularExpressionMultilineContext |
|
| MappingExpressionParser.Root_pathContext |
|
| MappingExpressionParser.SeqContext |
|
| MappingExpressionParser.StringContext |
|
| MappingExpressionParser.To_arrayContext |
|
| MappingExpressionParser.Unary_opContext |
|
| MappingExpressionParser.Var_assignContext |
|
| MappingExpressionParser.Var_recallContext |
|
| MappingExpressionParser.VarListContext |
|
| MappingExpressionVisitor<T> |
|
| MatchFunction |
From http://docs.jsonata.org/string-functions.html:
$match(str, pattern [, limit])
Finds occurrences of pattern within str and reports them with their index and
group.
|
| MaxFunction |
From http://docs.jsonata.org/aggregation-functions.html
$max(array)
Returns the maximum number in an array of numbers.
|
| MergeFunction |
Returns the merger of the objects in an array of objects.
|
| MillisFunction |
http://docs.jsonata.org/numeric-functions.html
$millis()
Returns the number of milliseconds since the Unix Epoch (1 January, 1970 UTC)
as a number.
|
| MinFunction |
From http://docs.jsonata.org/aggregation-functions.html
$min(array)
Returns the minimum number in an array of numbers.
|
| NoContextFunction |
Optimized version of FunctionBase where parameters don't have to be converted
from JsonNode to call context
|
| NonNumericArrayIndexException |
|
| NotFunction |
|
| NowFunction |
From http://docs.jsonata.org/string-functions.html:
$now()
Generates a UTC timestamp in ISO 8601 compatible format and returns it as a
string.
|
| NumberFunction |
http://docs.jsonata.org/numeric-functions.html
Casts the arg parameter to a number using the following casting rules:
- Numbers are unchanged - Strings that contain a sequence of characters that
represent a legal JSON number are converted to that number - All other values
cause an error to be thrown.
|
| NumberUtils |
|
| OrderByOperator |
|
| PadFunction |
From http://docs.jsonata.org/string-functions.html:
$pad(str, width [, char])
Returns a copy of the string str with extra padding, if necessary, so that
its total number of characters is at least the absolute value of the width
parameter.
|
| ParseException |
|
| PathExpression |
|
| PathExpressionLexer |
|
| PathExpressionParser |
|
| PathExpressionParser.Array_indexContext |
|
| PathExpressionParser.ExprContext |
|
| PathExpressionParser.IdContext |
|
| PathExpressionParser.PathContext |
|
| PathExpressionParserBaseListener |
This class provides an empty implementation of PathExpressionParserListener,
which can be extended to create a listener which only needs to handle a subset
of the available methods.
|
| PathExpressionParserBaseVisitor<T> |
This class provides an empty implementation of PathExpressionParserVisitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.
|
| PathExpressionParserListener |
|
| PathExpressionParserVisitor<T> |
This interface defines a complete generic visitor for a parse tree produced
by PathExpressionParser.
|
| PathExpressionVisitor |
|
| PathExpressionVisitor.Getter |
|
| PathExpressionVisitor.Setter |
|
| PathUsedOutsideOfPredicateException |
Thrown when attempting to evaluate "path" statements that are outside of a
predicate e.g.
|
| PowerFunction |
http://docs.jsonata.org/numeric-functions.html
$power(base, exponent)
Returns the value of base raised to the power of exponent (baseexponent).
|
| PropertyDoesNotExistEvaluateRuntimeException |
|
| RandomFunction |
http://docs.jsonata.org/numeric-functions.html
$random()
Returns a pseudo random number greater than or equal to zero and less than
one (0 ≤ n < 1)
Examples
$random()==0.7973541067127 $random()==0.4029142127028 $random() ==
0.6558078550072
|
| ReduceFunction |
From http://docs.jsonata.org/higher-order-functions#reduce
Signature: $reduce(array, function [, init])
Returns an aggregated value derived from applying the function parameter
successively to each value in array in combination with the result of the
previous application of the function.
|
| RegularExpression |
A helper class to store information about a parsed regular expression.
|
| RegularExpression.Type |
|
| ReplaceFunction |
From http://docs.jsonata.org/string-functions.html:
$replace(str, pattern, replacement [, limit])
Finds occurrences of pattern within str and replaces them with replacement.
|
| ReverseFunction |
|
| RoundFunction |
http://docs.jsonata.org/numeric-functions.html
$round(number [, precision])
Returns the value of the number parameter rounded to the number of decimal
places specified by the optional precision parameter.
|
| Sequence |
|
| ShuffleFunction |
|
| SiftFunction |
From http://docs.jsonata.org/object-functions.html
$spread(object)
Splits an object containing key/value pairs into an array of objects, each of
which has a single key/value pair from the input object.
|
| Signature |
Manages signature related functions
|
| SortFunction |
|
| SplitFunction |
From http://docs.jsonata.org/string-functions.html:
$split(str, separator [, limit])
Splits the str parameter into an array of substrings.
|
| SpreadFunction |
From http://docs.jsonata.org/object-functions.html
$spread(object)
Splits an object containing key/value pairs into an array of objects, each of
which has a single key/value pair from the input object.
|
| SqrtFunction |
http://docs.jsonata.org/numeric-functions.html
$sqrt(number)
Returns the square root of the value of the number parameter.
|
| StringFunction |
From http://docs.jsonata.org/string-functions.html:
$string(arg)
Casts the arg parameter to a string using the following casting rules
Strings are unchanged Functions are converted to an empty string Numeric
infinity and NaN throw an error because they cannot be represented as a JSON
number All other values are converted to a JSON string using the
JSON.stringify function If arg is not specified (i.e.
|
| SubstringAfterFunction |
From http://docs.jsonata.org/string-functions.html:
$substringAfter(str, chars)
Returns the substring after the first occurrence of the character sequence
chars in str.
|
| SubstringBeforeFunction |
From http://docs.jsonata.org/string-functions.html:
$substringBefore(str, chars)
Returns the substring before the first occurrence of the character sequence
chars in str.
|
| SubstringFunction |
Complies with javascript substr (and thus JSONata $substring).
|
| SumFunction |
|
| Test |
|
| Tester |
Expression evaluation test utility
|
| TesterTimeBox |
Expression evaluation test utility
|
| TesterUI |
A Swing UI app to test JSONata4Java interactively similar to the original
JSONata Exerciser (see https://try.jsonata.org).
|
| TesterUIColors |
Defines a set color schemas for the different text areas in the UI.
|
| TesterUIFontChooser |
Since Swing does not yet provide a font chooser we have to write it.
|
| TesterUIJsonataExample |
Defines a set of examples that can be used to demonstrate JSONata4Java's capabilities.
|
| TesterUIPerferences |
A preferences dialog allowing to tweak different setting of the Tester UI app.
|
| TesterUIProperties |
Allows to store the Test UI app settings in a .properties file in alphabetical order.
|
| TesterUISettings |
Aggregates all Tester UI app settings that can be interactively changed.
|
| ToMillisFunction |
http://docs.jsonata.org/numeric-functions.html
$toMillis(timestamp)
Convert a timestamp string in the ISO 8601 format to the number of
milliseconds since the Unix Epoch (1 January, 1970 UTC) as a number.
|
| TreeUtils |
|
| TrimFunction |
From http://docs.jsonata.org/string-functions.html:
$trim(str)
Normalizes and trims all whitespace characters in str by applying the
following steps:
* All tabs, carriage returns, and line feeds are replaced with spaces.
|
| TypeFunction |
From http://docs.jsonata.org/string-functions.html:
$trim(str)
Normalizes and trims all whitespace characters in str by applying the
following steps:
* All tabs, carriage returns, and line feeds are replaced with spaces.
|
| UnpackFunction |
|
| UnpackFunction.DecodePattern |
|
| UppercaseFunction |
From http://docs.jsonata.org/string-functions.html:
$uppercase(str)
Returns a string with all the characters of str converted to uppercase.
|
| URLDecodeComponentFunction |
From http://docs.jsonata.org/string-functions.html:
$length(str)
Returns the number of characters in the string str.
|
| URLDecodeFunction |
From http://docs.jsonata.org/string-functions.html:
$length(str)
Returns the number of characters in the string str.
|
| URLEncodeComponentFunction |
From http://docs.jsonata.org/string-functions.html:
$length(str)
Returns the number of characters in the string str.
|
| URLEncodeFunction |
From http://docs.jsonata.org/string-functions.html:
$length(str)
Returns the number of characters in the string str.
|
| ZipFunction |
|