» Version | » Information |
---|---|
1.0.3 |
Easy InstallNot sure? Get more info. pear install Services_JSON-1.0.3 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/Services_JSON-1.0.3 Release date: 2011-01-14 03:43 UTC Release state: stable Release uploaded by: alan_k Changelog: Minor feature / bugfix release #18018 - toJSON() support (classes can now implement toJSON(), which should return #17921 - long strings cause problems for parser #17515 - handle mbstring overloading of strlen ------ - cache lookups for mb functions during constructor toJSON notes: $ser = new Services_JSON( SERVICES_JSON_USE_TO_JSON ); class A { // toJSON should return an associtive array of the properties to serialize // same standard as JSON.stringify() function toJSON() { return array( 'a' => $this->a, 'b'=>$this->b) ; } } echo $sj->encode(new A()); Dependencies:
|
1.0.2 |
Easy InstallNot sure? Get more info. pear install Services_JSON-1.0.2 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/Services_JSON-1.0.2 Release date: 2010-01-02 04:09 UTC Release state: stable Release uploaded by: alan_k Changelog: Fixed Bug #16908 - When locale was set, and it changed the way numbers are formated, the output for floats was broken Dependencies:
|
1.0.1 |
Easy InstallNot sure? Get more info. pear install Services_JSON-1.0.1 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/Services_JSON-1.0.1 Release date: 2009-09-09 17:44 UTC Release state: stable Release uploaded by: alan_k Changelog: Fixed Bug #16585 - Fix correct mime type for encode() - note use encodeUnsafe() to prevent headers being sent. Dependencies:
|
1.0.0 |
Easy InstallNot sure? Get more info. pear install Services_JSON-1.0.0 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/Services_JSON-1.0.0 Release date: 2009-05-23 02:03 UTC Release state: stable Release uploaded by: alan_k Changelog: Fixed Bug #16251 - Back out change - Use double quotes as per spec Dependencies:
|
0.9.0 |
Easy InstallNot sure? Get more info. pear install Services_JSON-0.9.0 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/Services_JSON-0.9.0 Release date: 2009-03-17 02:11 UTC Release state: beta Release uploaded by: alan_k Changelog: Released into pear with minor changes to original proposal - encode() - encodes and adds http headers - encodeUnsafe() - encodes only - Some UTF8 fixes (better handling of invalid characters) Dependencies:
|