1
0
mirror of https://github.com/php/php-src.git synced 2026-03-30 20:22:36 +02:00
Files
archived-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
..
2014-12-27 19:42:04 +00:00
2014-11-13 20:20:46 +00:00
2014-11-30 18:29:48 +00:00
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.