Are you talking about ```Symfony\Component\HttpFoundation\JsonResponse``` ?

[JsonResponse](https://github.com/symfony/symfony/blob/master/src/Symfony/Component/HttpFoundation/JsonResponse.php#L25)