rfc:free-json-parser
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rfc:free-json-parser [2013/08/25 17:13] – [Proposal] remi | rfc:free-json-parser [2017/09/22 13:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== PHP RFC: Switch from json extension to jsonc ====== | ====== PHP RFC: Switch from json extension to jsonc ====== | ||
- | * Version: | + | * Version: 1.0 |
* Date: 2013-08-25 | * Date: 2013-08-25 | ||
* Author: Remi Collet < | * Author: Remi Collet < | ||
- | * Status: | + | * Status: Under Discussion |
* First Published at: https:// | * First Published at: https:// | ||
Line 15: | Line 15: | ||
Effectively, | Effectively, | ||
- | The encoder code is free since PHP 5.4.10 ([[https:// | + | The encoder code is free since PHP 5.4.10 ([[https:// |
===== Proposal ===== | ===== Proposal ===== | ||
- | The **jsonc** extension, currently available from PECL site is designed to be a dropin alternative. | + | The **jsonc** extension, currently available from PECL site is designed to be a dropin alternative |
- | * Same **encoder** | + | * Same **encoder** |
* **Parser** provided by the [[https:// | * **Parser** provided by the [[https:// | ||
- | As the new parser | + | While the main purpose of this RFC is to fix the Licensing issue, it also introduce some new features. |
+ | As the new parser is an incremental one, the new **JsonIncrementalParser** class expose this feature | ||
< | < | ||
Line 75: | Line 76: | ||
* **Debian** since PHP 5.5 / Jessie | * **Debian** since PHP 5.5 / Jessie | ||
* **Fedora** since PHP 5.5 / Fedora 19 | * **Fedora** since PHP 5.5 / Fedora 19 | ||
- | * **Mageia** | + | * **Mageia** |
* **Ubuntu** since PHP 5.5 / Saucy | * **Ubuntu** since PHP 5.5 / Saucy | ||
Line 104: | Line 105: | ||
===== Unaffected PHP Functionality ===== | ===== Unaffected PHP Functionality ===== | ||
- | List existing areas/ | + | No change in PHP engine. |
- | + | No change for other extension. | |
- | This helps avoid any ambiguity, shows that you have thought deeply about the RFC's impact, and helps reduces mail list noise. | + | |
===== Future Scope ===== | ===== Future Scope ===== | ||
Line 112: | Line 112: | ||
Speed improvment. | Speed improvment. | ||
+ | As the original author (omar) seems no more involed, I could maintain this extension in the future. | ||
+ | Implement some RFE such as [[https:// | ||
===== Proposed Voting Choices ===== | ===== Proposed Voting Choices ===== | ||
rfc/free-json-parser.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1