Giter Site home page Giter Site logo

4_json's Introduction

Prettify JSON

The programm get the path to the JSON data file and print it in a pretty readable way.

Quickstart

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"
}

4_json's People

Contributors

dangalkin avatar melevir avatar pelid avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.