https://github.com/symfony/symfony/blob/2.8/src/Symfony/Component/HttpFoundation/JsonResponse.php#L38 There doesn't appear to be a way to override the default encoding through the constructor or inheritance. Any objections to a PR where I move the flags into a protected property?