JSON POST handler

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.

License: BSD-2-Clause

Latest releases

Version Release Download
1.1.0 2021-09-23 json_post-1.1.0.tgz
1.0.2 2020-05-25 json_post-1.0.2.tgz
1.0.1 2015-07-28 json_post-1.0.1.tgz
1.0.0 2015-03-18 json_post-1.0.0.tgz
1.0.0RC2 2015-03-12 json_post-1.0.0RC2.tgz
Show all releases


Version Message
1.1.0 * Fix gh-issue #3:
* Add json_post.onerror.response INI entry, specifying whether and which
response code to send when `json_decode` fails.
* Add json_post.onerror.exit INI entry, specifying whether to exit PHP
without running the script when `json_decode` fails.
* Add json_post.onerror.warning INI entry, specifying whether to raise
a WARNING when `json_decode` fails.
1.0.2 * Fix gh-issue #1: segfault on 7.4 with empty array (Mark Rigby-Jones)
1.0.1 * Fix: json_post.flags=2 ignored with php7 (Remi)
1.0.0 * Split off pecl_http
1.0.0RC2 * Split off pecl_http
Show complete changelog