svn: /phpdoc/bg/trunk/reference/json/ book.xml constants.xml setup.xml
[email protected] (Stanislav Yordanov) Sat, 26 Dec 2015 21:42:36 +0000
| Newsgroups | php.doc.bg |
|---|---|
| Message-ID | <[email protected]> |
stanprog Sat, 26 Dec 2015 21:42:36 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=338365
Log:
sync to EN
Changed paths:
U phpdoc/bg/trunk/reference/json/book.xml
U phpdoc/bg/trunk/reference/json/constants.xml
U phpdoc/bg/trunk/reference/json/setup.xml
svn-diffs-338365.txt
(text/x-diff, 9.3 KB)
Modified: phpdoc/bg/trunk/reference/json/book.xml
===================================================================
--- phpdoc/bg/trunk/reference/json/book.xml 2015-12-25 22:21:35 UTC (rev 338364)
+++ phpdoc/bg/trunk/reference/json/book.xml 2015-12-26 21:42:36 UTC (rev 338365)
@@ -1,27 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 288721 Maintainer: stanprog Status: ready -->
-<!-- Purpose: basic.other -->
-<!-- Membership: pecl, bundled -->
-
+<!-- EN-Revision: 331384 Maintainer: stanprog Status: ready -->
+<!-- Reviewed: yes Maintainer: stanprog -->
<book xml:id="book.json" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <?phpdoc extension-membership="bundled" ?>
<title>JavaScript Object Notation</title>
<titleabbrev>JSON</titleabbrev>
-
+
<preface xml:id="intro.json">
&reftitle.intro;
<para>
Това разширение реализира <link
- xlink:href="&url.json;">JavaScript Object Notation (JSON)</link>
+ xlink:href="&url.json;">JavaScript Object Notation (JSON)</link>
формата за обмяна на данни. Декодирането се извършва от анализатор,
написан на базата на JSON_checker създаден от Douglas Crockford.
</para>
+ &json.implementation.superset;
</preface>
-
+
&reference.json.setup;
&reference.json.constants;
+ &reference.json.jsonserializable;
&reference.json.reference;
-
+
</book>
<!-- Keep this comment at the end of the file
Local variables:
Modified: phpdoc/bg/trunk/reference/json/constants.xml
===================================================================
--- phpdoc/bg/trunk/reference/json/constants.xml 2015-12-25 22:21:35 UTC (rev 338364)
+++ phpdoc/bg/trunk/reference/json/constants.xml 2015-12-26 21:42:36 UTC (rev 338365)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 336513 Maintainer: stanprog Status: ready -->
+<!-- EN-Revision: 337480 Maintainer: stanprog Status: ready -->
<!-- Reviewed: yes Maintainer: stanprog -->
<appendix xml:id="json.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -14,7 +14,7 @@
<varlistentry xml:id="constant.json-error-none">
<term>
<constant>JSON_ERROR_NONE</constant>
- (<type>integer</type>)
+ (<type>integer</type>)
</term>
<listitem>
<simpara>
@@ -26,7 +26,7 @@
<varlistentry xml:id="constant.json-error-depth">
<term>
<constant>JSON_ERROR_DEPTH</constant>
- (<type>integer</type>)
+ (<type>integer</type>)
</term>
<listitem>
<simpara>
@@ -38,7 +38,7 @@
<varlistentry xml:id="constant.json-error-state-mismatch">
<term>
<constant>JSON_ERROR_STATE_MISMATCH</constant>
- (<type>integer</type>)
+ (<type>integer</type>)
</term>
<listitem>
<simpara>
@@ -50,7 +50,7 @@
<varlistentry xml:id="constant.json-error-ctrl-char">
<term>
<constant>JSON_ERROR_CTRL_CHAR</constant>
- (<type>integer</type>)
+ (<type>integer</type>)
</term>
<listitem>
<simpara>
@@ -62,7 +62,7 @@
<varlistentry xml:id="constant.json-error-syntax">
<term>
<constant>JSON_ERROR_SYNTAX</constant>
- (<type>integer</type>)
+ (<type>integer</type>)
</term>
<listitem>
<simpara>
@@ -74,7 +74,7 @@
<varlistentry xml:id="constant.json-error-utf8">
<term>
<constant>JSON_ERROR_UTF8</constant>
- (<type>integer</type>)
+ (<type>integer</type>)
</term>
<listitem>
<simpara>
@@ -86,7 +86,7 @@
<varlistentry xml:id="constant.json-error-recursion">
<term>
<constant>JSON_ERROR_RECURSION</constant>
- (<type>integer</type>)
+ (<type>integer</type>)
</term>
<listitem>
<para>
@@ -103,7 +103,7 @@
<varlistentry xml:id="constant.json-error-inf-or-nan">
<term>
<constant>JSON_ERROR_INF_OR_NAN</constant>
- (<type>integer</type>)
+ (<type>integer</type>)
</term>
<listitem>
<para>
@@ -121,7 +121,7 @@
<varlistentry xml:id="constant.json-error-unsupported-type">
<term>
<constant>JSON_ERROR_UNSUPPORTED_TYPE</constant>
- (<type>integer</type>)
+ (<type>integer</type>)
</term>
<listitem>
<para>
@@ -144,7 +144,7 @@
<varlistentry xml:id="constant.json-hex-tag">
<term>
<constant>JSON_HEX_TAG</constant>
- (<type>integer</type>)
+ (<type>integer</type>)
</term>
<listitem>
<simpara>
@@ -156,7 +156,7 @@
<varlistentry xml:id="constant.json-hex-amp">
<term>
<constant>JSON_HEX_AMP</constant>
- (<type>integer</type>)
+ (<type>integer</type>)
</term>
<listitem>
<simpara>
@@ -168,7 +168,7 @@
<varlistentry xml:id="constant.json-hex-apos">
<term>
<constant>JSON_HEX_APOS</constant>
- (<type>integer</type>)
+ (<type>integer</type>)
</term>
<listitem>
<simpara>
@@ -180,7 +180,7 @@
<varlistentry xml:id="constant.json-hex-quot">
<term>
<constant>JSON_HEX_QUOT</constant>
- (<type>integer</type>)
+ (<type>integer</type>)
</term>
<listitem>
<simpara>
@@ -192,7 +192,7 @@
<varlistentry xml:id="constant.json-force-object">
<term>
<constant>JSON_FORCE_OBJECT</constant>
- (<type>integer</type>)
+ (<type>integer</type>)
</term>
<listitem>
<simpara>
@@ -205,7 +205,7 @@
<varlistentry xml:id="constant.json-numeric-check">
<term>
<constant>JSON_NUMERIC_CHECK</constant>
- (<type>integer</type>)
+ (<type>integer</type>)
</term>
<listitem>
<simpara>
@@ -217,7 +217,7 @@
<varlistentry xml:id="constant.json-bigint-as-string">
<term>
<constant>JSON_BIGINT_AS_STRING</constant>
- (<type>integer</type>)
+ (<type>integer</type>)
</term>
<listitem>
<simpara>
@@ -229,7 +229,7 @@
<varlistentry xml:id="constant.json-pretty-print">
<term>
<constant>JSON_PRETTY_PRINT</constant>
- (<type>integer</type>)
+ (<type>integer</type>)
</term>
<listitem>
<simpara>
@@ -241,7 +241,7 @@
<varlistentry xml:id="constant.json-unescaped-slashes">
<term>
<constant>JSON_UNESCAPED_SLASHES</constant>
- (<type>integer</type>)
+ (<type>integer</type>)
</term>
<listitem>
<simpara>
@@ -253,7 +253,7 @@
<varlistentry xml:id="constant.json-unescaped-unicode">
<term>
<constant>JSON_UNESCAPED_UNICODE</constant>
- (<type>integer</type>)
+ (<type>integer</type>)
</term>
<listitem>
<simpara>
@@ -262,17 +262,29 @@
</simpara>
</listitem>
</varlistentry>
- <varlistentry xml:id="constant.json-preserve-zero-fraction">
+ <varlistentry xml:id="constant.json-partial-output-on-error">
<term>
- <constant>JSON_PRESERVE_ZERO_FRACTION</constant>
+ <constant>JSON_PARTIAL_OUTPUT_ON_ERROR</constant>
(<type>integer</type>)
</term>
<listitem>
<simpara>
- Гарантира, че стойностите от тип <type>float</type> са кодирани като стойности с плаваща запетая.
- Достъпна от PHP 5.6.6.
+ Заменя някои стойности, които не могат да бъдат кодирани, вместо да върне грешка.
+ Достъпна от PHP 5.5.0.
</simpara>
</listitem>
+ </varlistentry>
+ <varlistentry xml:id="constant.json-preserve-zero-fraction">
+ <term>
+ <constant>JSON_PRESERVE_ZERO_FRACTION</constant>
+ (<type>integer</type>)
+ </term>
+ <listitem>
+ <simpara>
+ Гарантира, че стойностите от тип <type>float</type> са кодирани като стойности с плаваща запетая.
+ Достъпна от PHP 5.6.6.
+ </simpara>
+ </listitem>
</varlistentry>
</variablelist>
</appendix>
Modified: phpdoc/bg/trunk/reference/json/setup.xml
===================================================================
--- phpdoc/bg/trunk/reference/json/setup.xml 2015-12-25 22:21:35 UTC (rev 338364)
+++ phpdoc/bg/trunk/reference/json/setup.xml 2015-12-26 21:42:36 UTC (rev 338365)
@@ -1,37 +1,39 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 288721 Maintainer: stanprog Status: ready -->
+<!-- Reviewed: yes Maintainer: stanprog -->
<chapter xml:id="json.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.setup;
-
+
<section xml:id="json.requirements">
&reftitle.required;
+ &no.install;
+ </section>
+
+ <section xml:id="json.installation">
+ &reftitle.install;
<para>
- От PHP 5.2.0, JSON разширението е по подразбиране вградено в PHP и компилирано.
+ От PHP 5.2.0, JSON разширението е по подразбиране вградено в PHP и
+ компилирано.
</para>
<para>
&pecl.info;
<link xlink:href="&url.pecl.package;json">&url.pecl.package;json</link>
</para>
</section>
-
- <section xml:id="json.installation">
- &reftitle.install;
- &no.install;
- </section>
-
+
<section xml:id="json.configuration">
&reftitle.runtime;
&no.config;
</section>
-
+
<section xml:id="json.resources">
&reftitle.resources;
&no.resource;
</section>
+
+</chapter>
-</chapter>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml