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
File
-
vendor/
google/ protobuf/ src/ Google/ Protobuf/ Internal/ GPBUtil.php, line 620
Class
Namespace
Google\Protobuf\InternalCode
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);
}