[TYPO3-core] contrib/json.php vs PHP json_encode

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Wed Sep 5 09:33:28 CEST 2007


Hi!

In t3lib_div.php there is now a array2json() that makes use of a 
JSON-class. How does this class compare to PHP 5.2's json_encode?

Maybe we can add some helper code for PHP 5.0 and 5.1 that load this class 
only when json_encode is not present. We did something like that for clone().

Masi


More information about the TYPO3-team-core mailing list