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

Breadcrumb

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

function GPBUtil::hasSpecialJsonMapping

6 calls to GPBUtil::hasSpecialJsonMapping()
Message::convertJsonValueToProtoValue in vendor/google/protobuf/src/Google/Protobuf/Internal/Message.php
Message::fieldJsonByteSize in vendor/google/protobuf/src/Google/Protobuf/Internal/Message.php
@ignore
Message::jsonByteSize in vendor/google/protobuf/src/Google/Protobuf/Internal/Message.php
@ignore
Message::mergeFromJsonArray in vendor/google/protobuf/src/Google/Protobuf/Internal/Message.php
Message::serializeFieldToJsonStream in vendor/google/protobuf/src/Google/Protobuf/Internal/Message.php
@ignore

... See full list

File

vendor/google/protobuf/src/Google/Protobuf/Internal/GPBUtil.php, line 620

Class

GPBUtil

Namespace

Google\Protobuf\Internal

Code

public static function hasSpecialJsonMapping($msg) {
    return is_a($msg, 'Google\\Protobuf\\Any') || is_a($msg, "Google\\Protobuf\\ListValue") || is_a($msg, "Google\\Protobuf\\Struct") || is_a($msg, "Google\\Protobuf\\Value") || is_a($msg, "Google\\Protobuf\\Duration") || is_a($msg, "Google\\Protobuf\\Timestamp") || is_a($msg, "Google\\Protobuf\\FieldMask") || static::hasJsonValue($msg);
}

API Navigation

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