#NEWLINE# def save_json( self , path , items ) : #NEWLINE# #INDENT# ' Saves a dictionary to a specified path using the json format' #NEWLINE# with codecs . open ( path , 'w' , encoding = system_encoding ) as f : #NEWLINE# #INDENT# json . dump ( items , f , sort_keys = True , indent = 4 )