@@ -16908,7 +16908,7 @@ $ ? (@ like_regex "^\\d+$")
1690816908 <itemizedlist>
1690916909 <listitem>
1691016910 <para>
16911- <xref linkend="functions-jsonparse"/ >
16911+ <link linkend="functions-jsonparse"><literal>JSON</literal></link >
1691216912 </para>
1691316913 </listitem>
1691416914 <listitem>
@@ -16938,32 +16938,27 @@ $ ? (@ like_regex "^\\d+$")
1693816938 </listitem>
1693916939 </itemizedlist>
1694016940
16941- <refentry id="functions-jsonparse">
16942- <refnamediv>
16943- <refname>JSON</refname>
16944- <refpurpose>create a JSON from a text</refpurpose>
16945- </refnamediv>
16946-
16947- <refsynopsisdiv>
16941+ <sect4 id="functions-jsonparse">
16942+ <title><literal>JSON</literal></title>
16943+ <indexterm><primary>json</primary></indexterm>
1694816944<synopsis>
1694916945<function>JSON</function> (
1695016946 <parameter>expression</parameter> <optional> FORMAT JSON <optional> ENCODING UTF8 </optional> </optional>
1695116947 <optional> { WITH | WITHOUT } UNIQUE <optional> KEYS </optional> </optional>
1695216948 <optional> RETURNING <replaceable class="parameter">json_data_type</replaceable> </optional>
1695316949)
1695416950</synopsis>
16955- </refsynopsisdiv>
1695616951
16957- <refsect1 >
16952+ <sect5 >
1695816953 <title>Description</title>
1695916954
1696016955 <para>
1696116956 <function>JSON</function> function generates a <acronym>JSON</acronym>
1696216957 from a text data.
1696316958 </para>
16964- </refsect1 >
16959+ </sect5 >
1696516960
16966- <refsect1 >
16961+ <sect5 >
1696716962 <title>Parameters</title>
1696816963 <variablelist>
1696916964 <varlistentry>
@@ -17029,17 +17024,17 @@ $ ? (@ like_regex "^\\d+$")
1702917024 </listitem>
1703017025 </varlistentry>
1703117026 </variablelist>
17032- </refsect1 >
17027+ </sect5 >
1703317028
17034- <refsect1 >
17029+ <sect5 >
1703517030 <title>Notes</title>
1703617031 <para>
1703717032 Alternatively, you can construct <acronym>JSON</acronym> values simply
1703817033 using <productname>PostgreSQL</productname>-specific casts to
1703917034 <type>json</type> and <type>jsonb</type> types.
1704017035 </para>
17041- </refsect1 >
17042- <refsect1 >
17036+ </sect5 >
17037+ <sect5 >
1704317038 <title>Examples</title>
1704417039 <para>
1704517040 Construct a JSON the provided strings:
@@ -17061,8 +17056,8 @@ SELECT JSON('{"a": 123, "b": [true, "foo"], "a": "bar"}' RETURNING jsonb);
1706117056SELECT JSON('{"a": 123, "b": [true, "foo"], "a": "bar"}' WITH UNIQUE KEYS);
1706217057ERROR: duplicate JSON object key value
1706317058</screen>
17064- </refsect1 >
17065- </refentry >
17059+ </sect5 >
17060+ </sect4 >
1706617061
1706717062 <sect4 id="functions-jsonscalar">
1706817063 <title><literal>JSON_SCALAR</literal></title>
0 commit comments