function FieldDescriptorProto::getJsonName
JSON name of this field. The value is set by protocol compiler. If the user has set a "json_name" option on this field, that option's value will be used. Otherwise, it's deduced from the field's name by converting it to camelCase.
Generated from protobuf field <code>optional string json_name = 10;</code>
Return value
string
File
-
vendor/
google/ protobuf/ src/ Google/ Protobuf/ Internal/ FieldDescriptorProto.php, line 475
Class
- FieldDescriptorProto
- Describes a field within a message.
Namespace
Google\Protobuf\InternalCode
public function getJsonName() {
return isset($this->json_name) ? $this->json_name : '';
}