/** * @param $array * * @return string */ public static function toJson($array) { return self::$modx->toJSON($array); }