Giter VIP home page Giter VIP logo

jsons2table's Introduction

jsons2table

Serialise multiple JSON files to an EXCEL and CSV file.

In order for this to work, the JSON files must have the same structure, for the most part. Slight differences are allowed though.

Content


Principles

Executing this command:

jsons2table /path/to/my/folder/with/json_files/my_folder_name

creates, within the given folder:

  • an Excel (.xlsx) file with 1 line for each original JSON file: my_folder_name.xlsx
  • also creates a CSV file with 1 line for each original JSON file: my_folder_name.csv
  • if non-existent yet, a .conf file that is used to format the Excel file: my_folder_name.conf

NB: the previous version of the Excel and CSV files are erased during the process, so be careful.

Top


Installation

  • make sure you have Go installed and working
  • go get -u github.com/ninjawule/jsons2table
  • run jsons2table -h to check this program usage

Top


TODO

  • the config file generation and use, which will allow to customize the column colors, sizes, etc.
  • better doc with a working example to show how that works
  • CSV generation
  • option to choose between CSV only / EXCEL only / both CSV & Excel
  • pure library mode (being able to use jsons2table in an application)

Top


License

This program is under the terms of the MIT License.

It uses code from excelize, which is BSD 3-Clause-licensed.

Top

jsons2table's People

Contributors

wuleninja avatar

Stargazers

Oscar Ayoun avatar

Watchers

 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.