Skip to content

Commit

Permalink
Update constants.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
mowangjuanzi committed Oct 15, 2023
1 parent 9abdec3 commit af2d3fa
Showing 1 changed file with 30 additions and 31 deletions.
61 changes: 30 additions & 31 deletions reference/json/constants.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 8cdc6621f9826d04abc3e50438c010804d7e8683 Maintainer: daijie Status: ready -->
<!-- EN-Revision: 3b67c8e90cdaa14f9d1a82756dcf0000ffa8f160 Maintainer: daijie Status: ready -->
<!-- CREDITS: mowangjuanzi -->
<appendix xml:id="json.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.constants;
Expand All @@ -14,7 +14,7 @@
<varlistentry xml:id="constant.json-error-none">
<term>
<constant>JSON_ERROR_NONE</constant>
(&integer;)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -25,7 +25,7 @@
<varlistentry xml:id="constant.json-error-depth">
<term>
<constant>JSON_ERROR_DEPTH</constant>
(&integer;)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -36,7 +36,7 @@
<varlistentry xml:id="constant.json-error-state-mismatch">
<term>
<constant>JSON_ERROR_STATE_MISMATCH</constant>
(&integer;)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -47,7 +47,7 @@
<varlistentry xml:id="constant.json-error-ctrl-char">
<term>
<constant>JSON_ERROR_CTRL_CHAR</constant>
(&integer;)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -58,7 +58,7 @@
<varlistentry xml:id="constant.json-error-syntax">
<term>
<constant>JSON_ERROR_SYNTAX</constant>
(&integer;)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -69,7 +69,7 @@
<varlistentry xml:id="constant.json-error-utf8">
<term>
<constant>JSON_ERROR_UTF8</constant>
(&integer;)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -80,7 +80,7 @@
<varlistentry xml:id="constant.json-error-recursion">
<term>
<constant>JSON_ERROR_RECURSION</constant>
(&integer;)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -93,7 +93,7 @@
<varlistentry xml:id="constant.json-error-inf-or-nan">
<term>
<constant>JSON_ERROR_INF_OR_NAN</constant>
(&integer;)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -108,7 +108,7 @@
<varlistentry xml:id="constant.json-error-unsupported-type">
<term>
<constant>JSON_ERROR_UNSUPPORTED_TYPE</constant>
(&integer;)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -122,7 +122,7 @@
<varlistentry xml:id="constant.json-error-invalid-property-name">
<term>
<constant>JSON_ERROR_INVALID_PROPERTY_NAME</constant>
(&integer;)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -135,7 +135,7 @@
<varlistentry xml:id="constant.json-error-utf16">
<term>
<constant>JSON_ERROR_UTF16</constant>
(&integer;)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -153,7 +153,7 @@
<varlistentry xml:id="constant.json-bigint-as-string">
<term>
<constant>JSON_BIGINT_AS_STRING</constant>
(&integer;)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -164,7 +164,7 @@
<varlistentry xml:id="constant.json-object-as-array">
<term>
<constant>JSON_OBJECT_AS_ARRAY</constant>
(&integer;)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -183,7 +183,7 @@
<varlistentry xml:id="constant.json-hex-tag">
<term>
<constant>JSON_HEX_TAG</constant>
(&integer;)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -194,7 +194,7 @@
<varlistentry xml:id="constant.json-hex-amp">
<term>
<constant>JSON_HEX_AMP</constant>
(&integer;)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -205,7 +205,7 @@
<varlistentry xml:id="constant.json-hex-apos">
<term>
<constant>JSON_HEX_APOS</constant>
(&integer;)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -216,7 +216,7 @@
<varlistentry xml:id="constant.json-hex-quot">
<term>
<constant>JSON_HEX_QUOT</constant>
(&integer;)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -227,7 +227,7 @@
<varlistentry xml:id="constant.json-force-object">
<term>
<constant>JSON_FORCE_OBJECT</constant>
(&integer;)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -239,7 +239,7 @@
<varlistentry xml:id="constant.json-numeric-check">
<term>
<constant>JSON_NUMERIC_CHECK</constant>
(&integer;)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -251,7 +251,7 @@
<varlistentry xml:id="constant.json-pretty-print">
<term>
<constant>JSON_PRETTY_PRINT</constant>
(&integer;)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -262,7 +262,7 @@
<varlistentry xml:id="constant.json-unescaped-slashes">
<term>
<constant>JSON_UNESCAPED_SLASHES</constant>
(&integer;)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -273,7 +273,7 @@
<varlistentry xml:id="constant.json-unescaped-unicode">
<term>
<constant>JSON_UNESCAPED_UNICODE</constant>
(&integer;)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -284,18 +284,18 @@
<varlistentry xml:id="constant.json-partial-output-on-error">
<term>
<constant>JSON_PARTIAL_OUTPUT_ON_ERROR</constant>
(&integer;)
(<type>int</type>)
</term>
<listitem>
<simpara>
Substitute some unencodable values instead of failing.
用不可编码的值来代替失败。
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.json-preserve-zero-fraction">
<term>
<constant>JSON_PRESERVE_ZERO_FRACTION</constant>
(&integer;)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -306,7 +306,7 @@
<varlistentry xml:id="constant.json-unescaped-line-terminators">
<term>
<constant>JSON_UNESCAPED_LINE_TERMINATORS</constant>
(&integer;)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -327,7 +327,7 @@
<varlistentry xml:id="constant.json-invalid-utf8-ignore">
<term>
<constant>JSON_INVALID_UTF8_IGNORE</constant>
(&integer;)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -338,7 +338,7 @@
<varlistentry xml:id="constant.json-invalid-utf8-substitute">
<term>
<constant>JSON_INVALID_UTF8_SUBSTITUTE</constant>
(&integer;)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -349,7 +349,7 @@
<varlistentry xml:id="constant.json-throw-on-error">
<term>
<constant>JSON_THROW_ON_ERROR</constant>
(&integer;)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -362,7 +362,6 @@
</variablelist>

</appendix>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Expand Down

0 comments on commit af2d3fa

Please sign in to comment.