Exemple #1
0
	def save( self, path ):
		f = file(path, 'w')
		f.write(json(self._properties, sort_keys=True, indent=4))
		f.close()
Exemple #2
0
	def __repr__( self ):
		return json(self._properties, sort_keys=True, indent=4)
Exemple #3
0
	def save( self, path ):
		with open(path, 'w') as f:
			f.write(json(self._properties, sort_keys=True, indent=4))