def save_json2(data):
<EOL>datadict = OrderedDict([<EOL>("<STR_LIT>", data.__dict__["<STR_LIT>"]),<EOL>("<STR_LIT>", dict(data.__dict__["<STR_LIT>"])),<EOL>("<STR_LIT>", data.__dict__["<STR_LIT>"])<EOL>])<EOL>
save to json.