예제 #1
0
파일: main.py 프로젝트: Kupoman/thor
	def deserialize(cls, json_dictionary):
		ret = cls()
		ret.weeks = json_dictionary['weeks']
		ret.name = json_dictionary['name']
		ret.uuid = json_dictionary['uuid']
		if 'monster' in json_dictionary:
			ret.monster = Monster.deserialize(json_dictionary['monster'])

		return ret