php-src/ext/json
Eddie Kohler 104876dd8e json_encode: Escape U+2028 and U+2029 more often.
These characters are illegal in Javascript, so leaving them unescaped
is risky. The default encoder ($flags = 0) is fine, but the encoder
with JSON_UNESCAPED_UNICODE flag is not.

In case anyone wants the ability to leave these characters unescaped,
provide JSON_UNESCAPED_LINE_TERMINATORS.
2016-01-22 19:40:58 +00:00
..
tests json_encode: Escape U+2028 and U+2029 more often. 2016-01-22 19:40:58 +00:00
config.m4 Merge branch 'master' into jsond 2014-12-27 19:42:04 +00:00
config.w32 generate missing json files from config.w32 2015-02-09 10:12:26 +01:00
CREDITS Initial import of jsond 2014-11-13 20:20:46 +00:00
json.c json_encode: Escape U+2028 and U+2029 more often. 2016-01-22 19:40:58 +00:00
json_encoder.c json_encode: Escape U+2028 and U+2029 more often. 2016-01-22 19:40:58 +00:00
json_parser.tab.c Happy new year (Update copyright to 2016) 2016-01-01 20:03:16 +02:00
json_parser.tab.h Regenerate bison and re2c files in json 2015-07-18 17:41:17 +01:00
json_parser.y Happy new year (Update copyright to 2016) 2016-01-01 20:03:16 +02:00
json_scanner.c Happy new year (Update copyright to 2016) 2016-01-01 20:03:16 +02:00
json_scanner.re Happy new year (Update copyright to 2016) 2016-01-01 20:03:16 +02:00
Makefile.frag Fix compilation for json scanner 2014-11-30 18:29:48 +00:00
php_json.h json_encode: Escape U+2028 and U+2029 more often. 2016-01-22 19:40:58 +00:00
php_json_encoder.h Happy new year (Update copyright to 2016) 2016-01-01 20:03:16 +02:00
php_json_parser.h Happy new year (Update copyright to 2016) 2016-01-01 20:03:16 +02:00
php_json_scanner.h Happy new year (Update copyright to 2016) 2016-01-01 20:03:16 +02:00
php_json_scanner_defs.h Regenerate bison and re2c files in json 2015-07-18 17:41:17 +01:00
README Bump re2c version for json scanner 2015-06-28 16:48:42 +01:00

JSON
==========


This extension implements the JavaScript Object Notation (JSON)
data-interchange format as specified in RFC 7159

The parser is implemented using re2c and Bison. The used versions
of both tools for generating files in the repository are following:

re2c 0.14.3
Bison 3.0.4

It is recommended to do all contributions to the JSON extension
through the Github Pull Requests and preferably ping @bukka
who maintains the extension.