parameters: (self, message)
return_statement: return self._RegularMessageToJsonObject(message, js)
docstring: Converts message to an object according to Proto3 JSON Specification.
docstring_summary: Converts message to an object according to Proto3 JSON Specification.
docstring_tokens: Converts message to an object according to Proto3 JSON Specification .
function: def _MessageToJsonObject(self, message):
      """Converts message to an object according to Proto3 JSON Specification."""
      message_descriptor = message.DESCRIPTOR
      full_name = message_descriptor.full_name
      if _IsWrapperMessage(message_descriptor):
        return self._WrapperMessageToJsonObject(message)
      if full_name in _WKTJSONMETHODS:
        return methodcaller(_WKTJSONMETHODS[full_name][0], message)(self)
      js = {}
      return self._RegularMessageToJsonObject(message, js)
function_tokens: def _MessageToJsonObject ( self , message ) : message_descriptor = message . DESCRIPTOR full_name = message_descriptor . full_name if _IsWrapperMessage ( message_descriptor ) : return self . _WrapperMessageToJsonObject ( message ) if full_name in _WKTJSONMETHODS : return methodcaller ( _WKTJSONMETHODS [ full_name ] [ 0 ] , message ) ( self ) js = { } return self . _RegularMessageToJsonObject ( message , js )