valid json but decode error python code example
Example: python json dump
import json
with open("data_file.json", "w") as write_file:
json.dump(data, write_file)
import json
with open("data_file.json", "w") as write_file:
json.dump(data, write_file)