示例#1
0
	def save( self, path ):
		f = file(path, 'w')
		f.write(json(self._properties, sort_keys=True, indent=4))
		f.close()
示例#2
0
	def __repr__( self ):
		return json(self._properties, sort_keys=True, indent=4)
示例#3
0
文件: web.py 项目: sebastien/retro
	def save( self, path ):
		with open(path, 'w') as f:
			f.write(json(self._properties, sort_keys=True, indent=4))