(self, value, message)
return
Convert a JSON representation into Struct message.
Convert a JSON representation into Struct message.
Convert a JSON representation into Struct message .
def _ConvertStructMessage(self, value, message):
    """Convert a JSON representation into Struct message."""
    if not isinstance(value, dict):
      raise ParseError(
          'Struct must be in a dict which is {0}.'.format(value))
    for key in value:
      self._ConvertValueMessage(value[key], message.fields[key])
    return
def _ConvertStructMessage ( self , value , message ) : if not isinstance ( value , dict ) : raise ParseError ( 'Struct must be in a dict which is {0}.' . format ( value ) ) for key in value : self . _ConvertValueMessage ( value [ key ] , message . fields [ key ] ) return