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

Breadcrumb

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

function GPBUtil::hasJsonValue

3 calls to GPBUtil::hasJsonValue()
GPBUtil::hasSpecialJsonMapping in vendor/google/protobuf/src/Google/Protobuf/Internal/GPBUtil.php
Message::fieldJsonByteSize in vendor/google/protobuf/src/Google/Protobuf/Internal/Message.php
@ignore
Message::serializeToJsonStream in vendor/google/protobuf/src/Google/Protobuf/Internal/Message.php
@ignore

File

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

Class

GPBUtil

Namespace

Google\Protobuf\Internal

Code

public static function hasJsonValue($msg) {
    return is_a($msg, "Google\\Protobuf\\DoubleValue") || is_a($msg, "Google\\Protobuf\\FloatValue") || is_a($msg, "Google\\Protobuf\\Int64Value") || is_a($msg, "Google\\Protobuf\\UInt64Value") || is_a($msg, "Google\\Protobuf\\Int32Value") || is_a($msg, "Google\\Protobuf\\UInt32Value") || is_a($msg, "Google\\Protobuf\\BoolValue") || is_a($msg, "Google\\Protobuf\\StringValue") || is_a($msg, "Google\\Protobuf\\BytesValue");
}

API Navigation

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