結果 : python code to write json file