Classes

This response serializes its data through the admin serializer (with reference loop handling) instead of calling json_encode. This is to make sure we have consistent responses with $this->json() and new JsonResponse in admin controllers.