opencoil-paracity/website/jsonreader.py

9 lines
168 B
Python
Raw Normal View History

2020-09-02 22:39:37 +02:00
import json
import pprint
with open('1scooter.json') as file:
data = json.load(file)
2020-09-02 22:48:59 +02:00
print(json.dumps(data['data']['attributes']['lat'], indent=4, sort_keys=True))
2020-09-02 22:39:37 +02:00