(self, message)
return ret
Converts Struct message according to Proto3 JSON Specification.
Converts Struct message according to Proto3 JSON Specification.
Converts Struct message according to Proto3 JSON Specification .
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
def _StructMessageToJsonObject ( self , message ) : fields = message . fields ret = { } for key in fields : ret [ key ] = self . _ValueMessageToJsonObject ( fields [ key ] ) return ret