Beispiel #1
0
 def on_recv(self, message):
     message = yayson.loads(message)
     return message
Beispiel #2
0
 def loads(cls, message):
     loaded = yayson.loads(message)
     return cls(**loaded)