Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. StreamedJsonResponse.php

function StreamedJsonResponse::stream

1 call to StreamedJsonResponse::stream()
StreamedJsonResponse::__construct in vendor/symfony/http-foundation/StreamedJsonResponse.php

File

vendor/symfony/http-foundation/StreamedJsonResponse.php, line 68

Class

StreamedJsonResponse
StreamedJsonResponse represents a streamed HTTP response for JSON.

Namespace

Symfony\Component\HttpFoundation

Code

private function stream() : void {
    $jsonEncodingOptions = \JSON_THROW_ON_ERROR | $this->encodingOptions;
    $keyEncodingOptions = $jsonEncodingOptions & ~\JSON_NUMERIC_CHECK;
    $this->streamData($this->data, $jsonEncodingOptions, $keyEncodingOptions);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal