Beispiel #1
0
 def json(self):
     '''
     JSON representation of UTF8Id
     '''
     output = Id.json(self)
     output.update(Schedule.json(self))
     return output
Beispiel #2
0
 def json(self):
     '''
     JSON representation of LayerId
     '''
     output = Id.json(self)
     output.update(Schedule.json(self))
     return output
Beispiel #3
0
 def json(self):
     '''
     JSON representation of TriggerId
     '''
     output = Id.json(self)
     output.update(Schedule.json(self))
     output['idcode'] = self.idcode
     return output
Beispiel #4
0
 def json(self):
     '''
     JSON representation of ScanCodeId
     '''
     output = Id.json(self)
     output.update(Schedule.json(self))
     output.update(Position.json(self))
     return output
Beispiel #5
0
 def json(self):
     '''
     JSON representation of TriggerId
     '''
     output = Id.json(self)
     output.update(Schedule.json(self))
     output['idcode'] = self.idcode
     return output
Beispiel #6
0
 def json(self):
     '''
     JSON representation of ScanCodeId
     '''
     output = Id.json(self)
     output.update(Schedule.json(self))
     output.update(Position.json(self))
     return output
Beispiel #7
0
 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
Beispiel #8
0
 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