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

Installs

  • Total 2K
  • Win 1K
  • OS X 1K
  • Linux 209
Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 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
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 1 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 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