On 10 September 2011 12:23, Roan Kattouw roan.kattouw@gmail.com wrote:
On Sat, Sep 10, 2011 at 9:13 AM, Daniel Friesen lists@nadir-seen-fire.com wrote:
Here's another kick:
- Using JSON in php, when you decode what you encoded you don't always
get the same thing back (serialize you of course do)
Even serialize() doesn't round-trip cleanly in certain cases: https://bugs.php.net/bug.php?id=55495
Another point came up in IRC discussions: "JSON converts UTF-8 characters to unicode escape sequences. serialize() does not."
This effectively negates any size advantages JSON might have. I noticed JSON is used extensively in resource loader. Roan: did you consider this point when choosing JSON format for storing message resources?
-Niklas