<channel>pecl.php.net</channel>
<summary>JSON POST handler</summary>
<description><![CDATA[
-This extension provides a PHP content type handler for "application/json" and
-"text/json" to PHP's form data parser. If the `Content-Type` of an incoming
-request is `text/json`, the JSON contents of the request body will by parsed
+This extension provides a PHP content type handler for "application/json" and
+"text/json" to PHP's form data parser. If the `Content-Type` of an incoming
+request is `text/json`, the JSON contents of the request body will by parsed
into `$_POST`.
This extension does not provide any constants, functions or classes.
<email>mike@php.net</email>
<active>yes</active>
</lead>
- <date>2015-03-18</date>
+ <date>2021-09-16</date>
<version>
- <release>1.0.0</release>
+ <release>1.1.0</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
- <license>BSD, revised</license>
+ <license uri="http://copyfree.org/content/standard/licenses/2bsd/license.txt">BSD-2-Clause</license>
<notes><![CDATA[
-* Split off pecl_http
+* Fix gh-issue #3:
+ * Add json_post.error_response INI entry, specifying whether and which
+ response code to send when `json_decode` fails.
+ * Add json_post.error_exit INI entry, specifying whether to exit PHP
+ without running the script when `json_decode` fails.
]]></notes>
<contents>
<dir name="/">
- <file role="doc" name="LICENSE"/>
+ <file role="doc" name="AUTHORS"/>
+ <file role="doc" name="CONTRIBUTING.md"/>
<file role="doc" name="CREDITS"/>
+ <file role="doc" name="LICENSE"/>
+ <file role="doc" name="README.md"/>
+ <file role="doc" name="THANKS"/>
<file role="src" name="config.m4"/>
<file role="src" name="config.w32"/>
<file role="test" name="002.phpt"/>
<file role="test" name="003.phpt"/>
<file role="test" name="004.phpt"/>
+ <file role="test" name="005.phpt"/>
<file role="test" name="application.phpt"/>
</dir>
</dir>