@@ -202,7 +202,7 @@ SubExpressions
202202 "*" )
203203
204204A subexpression is a combination of two expressions separated by the '.' char.
205- A subexpression is evaluted as follows:
205+ A subexpression is evaluated as follows:
206206
207207* Evaluate the expression on the left with the original JSON document.
208208* Evaluate the expression on the right with the result of the left expression
@@ -455,7 +455,7 @@ evaluated as follows:
4554551. A hash is created: ``{} ``
4564562. A key ``foo `` is created whose value is the result of evaluating ``one.two ``
457457 against the provided JSON document: ``{"foo": evaluate(one.two, <data>)} ``
458- 3. A key ``bar `` is created whose value is the result of evaluting the
458+ 3. A key ``bar `` is created whose value is the result of evaluating the
459459 expression ``bar `` against the provided JSON document.
460460
461461The final result will be: ``{"foo": "one-two", "bar": "bar"} ``.
@@ -576,7 +576,7 @@ Filter Expressions
576576A filter expression provides a way to select JSON elements based on a
577577comparison to another expression. A filter expression is evaluated as follows:
578578for each element in an array evaluate the ``list-filter-expr `` against the
579- element. If the expression evalutes to ``true ``, the item (in its entirety) is
579+ element. If the expression evaluates to ``true ``, the item (in its entirety) is
580580added to the result list. Otherwise it is excluded from the result list. A
581581filter expression is only defined for a JSON array. Attempting to evaluate a
582582filter expression against any other type will return ``null ``.
@@ -606,7 +606,7 @@ For ``string/number/true/false/null`` types, equality is an exact match. A
606606``string `` is equal to another ``string `` if they they have the exact sequence
607607of code points. The literal values ``true/false/null `` are only equal to their
608608own literal values. Two JSON objects are equal if they have the same set of
609- keys and values (given two JSON objeccts ``x `` and ``y ``, for each key value
609+ keys and values (given two JSON objects ``x `` and ``y ``, for each key value
610610pair ``(i, j) `` in ``x ``, there exists an equivalent pair ``(i, j) `` in ``y ``).
611611Two JSON arrays are equal if they have equal elements in the same order (given
612612two arrays ``x `` and ``y ``, for each ``i `` from ``0 `` until ``length(x) ``,
@@ -629,7 +629,7 @@ element resolves to the comparison ``"char" < "bar"``, and because these types
629629are string, the expression results in ``null ``, so the first element is not
630630included in the result list. The second element resolves to ``2 < 1 ``,
631631which is ``false ``, so the second element is excluded from the result list.
632- The third expression resolves to ``1 < 2 `` which evalutes to ``true ``, so the
632+ The third expression resolves to ``1 < 2 `` which evaluates to ``true ``, so the
633633third element is included in the list. The final result of that expression
634634is ``[{"a": 1, "b": 2}] ``.
635635
@@ -734,7 +734,7 @@ Each function signature declares the types of its input parameters. If any
734734type constraints are not met, implementations must indicate that an
735735``invalid-type `` error occurred.
736736
737- In order to accommodate type contraints , functions are provided to convert
737+ In order to accommodate type constraints , functions are provided to convert
738738types to other types (``to_string ``, ``to_number ``) which are defined below.
739739No explicit type conversion happens unless a user specifically uses one of
740740these type conversion functions.
@@ -1258,7 +1258,7 @@ not_null
12581258
12591259Returns the first argument that does not resolve to ``null ``. This function
12601260accepts one or more arguments, and will evaluate them in order until a
1261- non null argument is encounted . If all arguments values resolve to ``null ``,
1261+ non null argument is encountered . If all arguments values resolve to ``null ``,
12621262then a value of ``null `` is returned.
12631263
12641264.. list-table :: Examples
0 commit comments