예제 #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))