function decode($str) { if (empty($str)) return null; $jsonHandler =& AriJSONHelper::_getJSONHandler(); return $jsonHandler->decode($str); }