igorw/symfony — comment on commit 5fa1c700d44cc6f0ccb3bbd70528e0d15fb246b1
File: src/Symfony/Component/HttpFoundation/JsonResponse.php line 36
By francodacosta:

I think overwriting the setContent() method makes more sense.

Nothing ensures the data set with setContent will be converted to json