Login  |  Packages  |  Support  |  Bugs
Top Level :: HTTP :: json_post :: 1.1.0

json_post 1.1.0

Package Information
Summary JSON POST handler
Maintainers Michael Wallner < mike at php dot net > (lead) [details]
License BSD-2-Clause
Description 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.
Release notes
Version 1.1.0
(stable)
* 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.

[ Latest Tarball ] [ Changelog ] [ View Statistics ]
[ Browse Source ] [ Package Bugs ] [ View Documentation ]

Dependencies for release 1.1.0
PHP Version: PHP 5.3.0 or newer
PEAR Package: PEAR 1.4.1 or newer
PHP Extension: json
PRIVACY POLICY  |  CREDITS
Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Mon Jun 01 07:05:01 2020 UTC
Bandwidth and hardware provided by: pair Networks