parameters: (self, message)
return_statement: return ret
docstring: Converts Struct message according to Proto3 JSON Specification.
docstring_summary: Converts Struct message according to Proto3 JSON Specification.
docstring_tokens: Converts Struct message according to Proto3 JSON Specification .
function: def _StructMessageToJsonObject(self, message):
      """Converts Struct message according to Proto3 JSON Specification."""
      fields = message.fields
      ret = {}
      for key in fields:
        ret[key] = self._ValueMessageToJsonObject(fields[key])
      return ret
function_tokens: def _StructMessageToJsonObject ( self , message ) : fields = message . fields ret = { } for key in fields : ret [ key ] = self . _ValueMessageToJsonObject ( fields [ key ] ) return ret