The programm get the path to the JSON data file and print it in a pretty readable way.
Example of script launch on Windows, Python 3.5:
>>> python pprint_json.py
Где лежит JSON-файл, который приводим в порядок?data-2897-2016-11-23.json
# TODO add output example
{
"Address": "Нижний Кисельный переулок, дом 3, строение 1",
"AdmArea": "Центральный административный округ",
"District": "Мещанский район",
"ID": "000069302",
"IsNetObject": "нет",
"Latitude_WGS84": "55.7653669567739740",
"Longitude_WGS84": "37.6215879462381080",
"Name": "Юнион Джек",
"PublicPhone": [
{
"PublicPhone": "(495) 621-19-63",
"global_id": 21025.0,
"global_object_id": "2.0660594E7",
"system_object_id": "000069302_1"
}
],
"SeatsCount": 30,
"SocialPrivileges": "нет",
"TypeObject": "бар",
"geoData": {
"coordinates": [
37.62158794615201,
55.76536695660836
],
"type": "Point"
},
"global_id": 20660594,
"system_object_id": "000069302"
}