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

Breadcrumb

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

function GPBJsonWire::isJsonEscaped

1 call to GPBJsonWire::isJsonEscaped()
GPBJsonWire::escapedJson in vendor/google/protobuf/src/Google/Protobuf/Internal/GPBJsonWire.php

File

vendor/google/protobuf/src/Google/Protobuf/Internal/GPBJsonWire.php, line 246

Class

GPBJsonWire

Namespace

Google\Protobuf\Internal

Code

private static function isJsonEscaped($c) {
    // See RFC 4627.
    return $c < chr($k_control_char_limit) || $c === "\"" || $c === "\\";
}

API Navigation

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