Exemplo n.º 1
0
Arquivo: id.py Projeto: FernandezR/kll
 def json(self):
     '''
     JSON representation of UTF8Id
     '''
     output = Id.json(self)
     output.update(Schedule.json(self))
     return output
Exemplo n.º 2
0
Arquivo: id.py Projeto: kluelogic/kll
 def json(self):
     '''
     JSON representation of LayerId
     '''
     output = Id.json(self)
     output.update(Schedule.json(self))
     return output
Exemplo n.º 3
0
Arquivo: id.py Projeto: FernandezR/kll
 def json(self):
     '''
     JSON representation of TriggerId
     '''
     output = Id.json(self)
     output.update(Schedule.json(self))
     output['idcode'] = self.idcode
     return output
Exemplo n.º 4
0
Arquivo: id.py Projeto: FernandezR/kll
 def json(self):
     '''
     JSON representation of ScanCodeId
     '''
     output = Id.json(self)
     output.update(Schedule.json(self))
     output.update(Position.json(self))
     return output
Exemplo n.º 5
0
Arquivo: id.py Projeto: kluelogic/kll
 def json(self):
     '''
     JSON representation of TriggerId
     '''
     output = Id.json(self)
     output.update(Schedule.json(self))
     output['idcode'] = self.idcode
     return output
Exemplo n.º 6
0
Arquivo: id.py Projeto: kluelogic/kll
 def json(self):
     '''
     JSON representation of ScanCodeId
     '''
     output = Id.json(self)
     output.update(Schedule.json(self))
     output.update(Position.json(self))
     return output
Exemplo n.º 7
0
Arquivo: id.py Projeto: FernandezR/kll
 def json(self):
     '''
     JSON representation of AnimationId
     '''
     output = Id.json(self)
     output.update(AnimationModifierList.json(self))
     output.update(Schedule.json(self))
     output['name'] = self.name
     output['setting'] = "{}".format(self)
     output['state'] = self.state
     del output['uid']
     return output
Exemplo n.º 8
0
Arquivo: id.py Projeto: kluelogic/kll
 def json(self):
     '''
     JSON representation of AnimationId
     '''
     output = Id.json(self)
     output.update(AnimationModifierList.json(self))
     output.update(Schedule.json(self))
     output['name'] = self.name
     output['setting'] = "{}".format(self)
     output['state'] = self.state
     del output['uid']
     return output