public static function jsonEncode($arr) { $Services_JSON = new pjServices_JSON(); return $Services_JSON->encode($arr); }