Skip to content

Latest commit

 

History

History
50 lines (39 loc) · 1.42 KB

README.md

File metadata and controls

50 lines (39 loc) · 1.42 KB

JSON 2 Tree Downloads

A python library to create HTML tree view from JSON files. This can also be used as a command line tool for the same purpose.

Table of Contents

Getting Started

Installation

  • Install usig pip pip install json2tree

    or

  • Clone this repo by running following command git clone https://github.com/abhaykatheria/json2tree
  • CD into the cloned repo
  • Install using following command pip install .

Usage

You can invoke the cli with typing json2tree command. There are 2 necessary arguments -

  • -j : this flag will take the input json file.
  • -o : this flag will set up the output file.

There is a third theme flag

  • -t : this can be used to set the theme of html output.

Sample command

json2tree -j example.json -o output.html -t 1

Themes

Currently there are only 2 themes.

  • Theme 1

image

  • Theme 2

image

Contributors

@abhaykatheria @m1-key