Files
2017-11-18 13:02:38 -07:00

12 lines
229 B
Python

''' JavaScript Object Notation '''
import json
with open('states.json') as f:
data = json.load(f)
for state in data['states']:
del state['area_codes']
with open('new_states.json', 'w') as f:
json.dump(data, f, indent=2)