Python - Structured Data Files
You have a list of dictionaries representing users:
How do you create a JSON string with indentation of 2 spaces and keys sorted alphabetically?
users = [{'name': 'Bob', 'age': 25}, {'name': 'Eve', 'age': 28}]How do you create a JSON string with indentation of 2 spaces and keys sorted alphabetically?
