Bug #16867 ยป 0004809.patch
t3lib/class.t3lib_tceforms_inline.php (Arbeitskopie) | ||
---|---|---|
*/
|
||
function getJSON($jsonArray) {
|
||
if (!$GLOBALS['JSON']) {
|
||
require_once('json.php');
|
||
require_once(PATH_typo3.'json.php');
|
||
$GLOBALS['JSON'] = t3lib_div::makeInstance('Services_JSON');
|
||
}
|
||
return $GLOBALS['JSON']->encode($jsonArray);
|