Delete all stored data.

Warning: all JsonStore instances sharing the same store_dir will be cleared.

Property definitions

json $ JsonStore :: clear
	# Delete all stored data.
	#
	# Warning: all `JsonStore` instances sharing the same `store_dir` will
	# be cleared.
	fun clear do
		if not store_dir.file_exists then return
		store_dir.rmdir
	end
lib/json/store.nit:103,2--110,4