Therefore, when we dump a Python dictionary to a JSON string, the order of the items will be kept as-is. json.dumps({ 'c': 1, 'b': 2, 'a': 3 }).
確定! 回上一頁