def save_to_json(self):
requestvalues = {<EOL>'<STR_LIT>': self.dataset,<EOL>'<STR_LIT>' : self._get_item_array(self.header),<EOL>'<STR_LIT>' : self._get_item_array(self.filter),<EOL>'<STR_LIT>' : self._get_item_array(self.stub),<EOL>'<STR_LIT>': self.frequencies<EOL>}<EOL>return json.dumps(requestvalues)<EOL>
The method saves data to json from object