JsonResponse
jsonp(string $callback, string|array $data = array(), int $status = 200, array $headers = array(), int $options)
Return a new JSONP response from the application. Parameters string $callback string|array $data int $status array $headers int $options Return Value JsonResponse