﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
21568	Update Services_JSON External Library	bpetty	nacin	"This is an update of Services_JSON used both for compatibility for pre-PHP-5.2, and also for hosts that have explicitly (and sickeningly) disabled json_encode() / json_decode().

Current version included in WordPress is 1.0.1. This updates to version 1.0.3 from upstream.

There's only one single non-upstream change that is included here, and it's a simple include guard, see #11827.

The following bugs were addressed with this update:

1. http://pear.php.net/bugs/bug.php?id=16908 - When locale was set, and it changed the way numbers are formated, the output for floats was broken.
2. http://pear.php.net/bugs/bug.php?id=17515 - Handle mbstring overloading of strlen().
3. http://pear.php.net/bugs/bug.php?id=17921 - Long strings cause problems for parser.

One last note here...

The only other non-upstream changes made to the library within WP core previously were just whitespace changes. In the future, it would be nice to know that whitespace changes should *not* touch 3rd party libraries since 1) they will always have their own coding guidelines, and 2) it makes it difficult to see actual upstream and non-upstream changes between WP core updates."	defect (bug)	closed	normal	3.6	External Libraries	3.4.1	normal	fixed	has-patch dev-feedback	bpetty
