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
  • 7 years ago
  • 58 minutes ago
  • 7 years ago

Installs

  • Total 2K
  • Win 1K
  • Mac 1K
  • Linux 209
Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10
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 0 0 0 0 0 0 0 0 1 0
Mac 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
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