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