release 1.0.0
[m6w6/ext-json_post] / README.md
1 # PECL :: json_post
2
3 JSON POST handler
4
5 ## About
6
7 This tiny extension provides a PHP content type handler for "text/json" to PHP's
8 form data parser. If the `Content-Type` of an incoming request is `text/json`,
9 the JSON contents of the request body will by parsed into `$_POST`.
10
11 This extension does not provide any constants, functions or classes.
12
13 ### INI Entries
14
15 * `json_post.flags = 1`
16 Takes any combination of JSON_ flags which will be passed to `json_decode()`.
17 The default is `JSON_OBJECT_AS_ARRAY`.