Giter Site home page Giter Site logo

jsonview's Introduction

jsonview

jsonview is a GUI JSON viewer.

window displaying with a JSON document as a tree with keys and values

Sample usage

jsonview some_file.json

curl https://someurl | jsonview -

jq .something some_file.json | jsonview -

Interface

If given a file name as argument, that JSON file will be viewed. If "-" is used as argument, stdin should contain JSON data. If given no argument, jsonview will show an empty window at the beginning.

At the top of the GUI, a single text input is present. Put the path of a JSON file in this input and press enter and that file will be viewed.

If a command is put in this text input, the command will be run and the JSON result will be viewed. This is useful to run curl or jq commands (or a combination of both, with a pipe in between) and view their result, without having to re-run jsonview.

Table mode

If the data consists in a list of objects, it can be viewed in "table mode".

Normal tree mode:

jsonview window showing a list of objects with the same keys in every object

Table mode:

jsonview window showing the same entries but as a table instead of a list

Dependencies

jsonview requires Python 3 and uses PyQt 6.

License

jsonview is licensed under the WTFPLv2 license.

jsonview's People

Contributors

hydrargyrum avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

anishboq

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.