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
  • 11 years ago
  • 31 minutes ago
  • 12 years ago

Installs

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