PHP Extension Repository is a modern mirror of PECL website with Windows pre-build.
This package is not maintained anymore and has been superseded.
Package has moved to channel
https://www.php.net/json
No replacement provided. Contact us if you know a replacement.
JavaScript Object Notation
This is a drop-in alternative to the standard PHP JSON extension.
Stars: | 160 |
Issue openned: | 4 |
Downloads: | 27294 |
* Added compatibility with PHP 7
* Empty string is considered invalid and JSON_ERROR_SYNTAX is raised
* Removed option `JSOND_VALID_ESCAPED_UNICODE`
* Added new error `JSOND_ERROR_INVALID_PROPERTY_NAME` for invalid property names
* Fixed compatibility with json ext for `JSOND_ERROR_CTRL_CHAR`
* Added depth checking for greater than 0 and lower than `INT_MAX`
* Added JSOND_PRESERVE_ZERO_FRACTION option for better handling of float values
* Fixed blank line inside empty array/object when JSOND_PRETTY_PRINT is set
* Fixed JSON_NUMERIC_CHECK issue with NaN and Inf double
* Used new UTF8 decoder based on automaton from Bjoern Hoehrmann
* Introduced new experimental buffer for encoding (option: --enable-jsond-buffer-native)
* Added a possibility to switch prefix to json (option: --enable-jsond-with-json-prefi)
* Use special template for Bison
* The parser and scanner is rebuilt only if enabled in configuration
requires: