diff --git a/doc/src/sgml/func/func-json.sgml b/doc/src/sgml/func/func-json.sgml
index 541d02d4a6e..51a88368c7c 100644
--- a/doc/src/sgml/func/func-json.sgml
+++ b/doc/src/sgml/func/func-json.sgml
@@ -3640,8 +3640,8 @@ DETAIL: Missing "]" after array dimensions.
against the row constructed from the columns specified in the parent
COLUMNS clause to get the row in the final view. Child
columns themselves may contain a NESTED PATH
- specification thus allowing to extract data located at arbitrary nesting
- levels. Columns produced by multiple NESTED PATHs at the
+ specification, thus allowing extraction of data located at arbitrary
+ nesting levels. Columns produced by multiple NESTED PATHs at the
same level are considered to be siblings of each
other and their rows after joining with the parent row are combined using
UNION.
@@ -3662,12 +3662,12 @@ DETAIL: Missing "]" after array dimensions.
JSON_TABLE (
context_item, path_expression AS json_path_name PASSING { value AS varname } , ...
COLUMNS ( json_table_column , ... )
- { ERROR | EMPTY ARRAY} ON ERROR
PLAN ( json_table_plan ) |
PLAN DEFAULT ( { INNER | OUTER } , { CROSS | UNION }
| { CROSS | UNION } , { INNER | OUTER } )
+ { ERROR | EMPTY ARRAY} ON ERROR
)
@@ -3853,7 +3853,7 @@ where json_table_column is:
The NESTED PATH syntax is recursive,
so you can go down multiple nested levels by specifying several
NESTED PATH subclauses within each other.
- It allows to unnest the hierarchy of JSON objects and arrays
+ It allows you to unnest the hierarchy of JSON objects and arrays
in a single function invocation rather than chaining several
JSON_TABLE expressions in an SQL statement.
@@ -3886,7 +3886,7 @@ where json_table_column is:
The optional json_path_name serves as an
- identifier of the provided json_path_specification.
+ identifier of the provided path_expression.
The path name must be unique and distinct from the column names. Each
path name can appear in the PLAN clause only once.
@@ -3991,7 +3991,7 @@ where json_table_column is:
- PLAN DEFAULT ( OUTER | INNER , UNION | CROSS )
+ PLAN DEFAULT ( { OUTER | INNER } , { UNION | CROSS } )