ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

JSON to CSV Converter

by drugo76 ST2

A sublime text 2 plugin to convert json to csv

Details

  • 2013.11.11.06.25.03
  • github.​com
  • github.​com
  • 6 years ago
  • 44 minutes ago
  • 6 years ago

Installs

  • Total 2K
  • Win 998
  • OS X 1K
  • Linux 209
Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
OS X 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Sublime Text 2 Plugin: JSON to CSV Converter

A Sublime Text 2 plugin to generate a csv from json.
It works both on the entire file and on single or multiple selections (if the input is a valid JSON).

The source JSON should contain only one nesting level (at least for now…).

Standalone version available here: https://github.com/drugo76/json2csv

Installation

git clone https://github.com/drugo76/sublime_json2csv.git "json2csv"

To get the path to the Packages folder go to Preferences -> Browse Packages.

Usage

Having a valid JSON (or a valid JSON selection) in the active view, from the menu choose Tools -> Command Palette, start typing 'csv' and select the Json2Csv: Convert JSON to CSV item.

Future Improvements

  • Filter the columns to be added in csv