@@ -16908,7 +16908,7 @@ $ ? (@ like_regex "^\\d+$")
16908
16908
<itemizedlist>
16909
16909
<listitem>
16910
16910
<para>
16911
- <xref linkend="functions-jsonparse"/ >
16911
+ <link linkend="functions-jsonparse"><literal>JSON</literal></link >
16912
16912
</para>
16913
16913
</listitem>
16914
16914
<listitem>
@@ -16938,32 +16938,27 @@ $ ? (@ like_regex "^\\d+$")
16938
16938
</listitem>
16939
16939
</itemizedlist>
16940
16940
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>
16948
16944
<synopsis>
16949
16945
<function>JSON</function> (
16950
16946
<parameter>expression</parameter> <optional> FORMAT JSON <optional> ENCODING UTF8 </optional> </optional>
16951
16947
<optional> { WITH | WITHOUT } UNIQUE <optional> KEYS </optional> </optional>
16952
16948
<optional> RETURNING <replaceable class="parameter">json_data_type</replaceable> </optional>
16953
16949
)
16954
16950
</synopsis>
16955
- </refsynopsisdiv>
16956
16951
16957
- <refsect1 >
16952
+ <sect5 >
16958
16953
<title>Description</title>
16959
16954
16960
16955
<para>
16961
16956
<function>JSON</function> function generates a <acronym>JSON</acronym>
16962
16957
from a text data.
16963
16958
</para>
16964
- </refsect1 >
16959
+ </sect5 >
16965
16960
16966
- <refsect1 >
16961
+ <sect5 >
16967
16962
<title>Parameters</title>
16968
16963
<variablelist>
16969
16964
<varlistentry>
@@ -17029,17 +17024,17 @@ $ ? (@ like_regex "^\\d+$")
17029
17024
</listitem>
17030
17025
</varlistentry>
17031
17026
</variablelist>
17032
- </refsect1 >
17027
+ </sect5 >
17033
17028
17034
- <refsect1 >
17029
+ <sect5 >
17035
17030
<title>Notes</title>
17036
17031
<para>
17037
17032
Alternatively, you can construct <acronym>JSON</acronym> values simply
17038
17033
using <productname>PostgreSQL</productname>-specific casts to
17039
17034
<type>json</type> and <type>jsonb</type> types.
17040
17035
</para>
17041
- </refsect1 >
17042
- <refsect1 >
17036
+ </sect5 >
17037
+ <sect5 >
17043
17038
<title>Examples</title>
17044
17039
<para>
17045
17040
Construct a JSON the provided strings:
@@ -17061,8 +17056,8 @@ SELECT JSON('{"a": 123, "b": [true, "foo"], "a": "bar"}' RETURNING jsonb);
17061
17056
SELECT JSON('{"a": 123, "b": [true, "foo"], "a": "bar"}' WITH UNIQUE KEYS);
17062
17057
ERROR: duplicate JSON object key value
17063
17058
</screen>
17064
- </refsect1 >
17065
- </refentry >
17059
+ </sect5 >
17060
+ </sect4 >
17066
17061
17067
17062
<sect4 id="functions-jsonscalar">
17068
17063
<title><literal>JSON_SCALAR</literal></title>
0 commit comments