Commit Graph

64 Commits

Author SHA1 Message Date
Nikolajus 18170f022e Added simple test and removed one import 2013-02-14 09:19:36 +01:00
Nikolajus b0d2f5ae66 Importing newest version of simplejson which wors with PY3 and 2.6, refactoring code to work only with simplejson. Issue #18 2013-02-13 10:19:30 +01:00
Nikolajus a3ed167787 Refactoring code to work with SublimeText3 and Python 3 thanks to @crcastle issue #18 2013-02-13 08:37:11 +01:00
Nikolajus 5ab38e46a6 Remove debug print of decoded object and change of default ident size to 2 2012-12-28 17:17:14 +01:00
Nikolajus d0bb576c75 Proper fix of issues #15 and #16 2012-12-28 17:12:53 +01:00
Nikolajus a00ddf43f1 fix issue #15 preserving real values as the user had it in json 2012-12-20 10:49:36 +01:00
Nikolajus d529976ca0 adding ensure_ascii to configuration, and renaming configuration variable indent_size to indent. it's possible to specify not only the size of spaces but also string 2012-10-09 15:57:06 +02:00
Nikolajus b14ec716e3 Adding copy of simplejson because package control is not suporting submodules, fixing issue #3 reordering of keys is disabled by default 2012-06-15 17:01:53 +02:00
Peter Gassner e3604b5f0c Configure json.dumps() to use an item separator of "," instead of the default ", " to prevent single whitespace at the end of lines.
Without this option, all prettyfied JSON has one space at the end of each line, which is not so pretty:

{
  "key": "value",_
  "key": "value",_
  "key": "value"
}

This could of course be configured, but with the current simplicity of the package it would probably be overkill.
2012-02-23 08:36:26 +01:00
Nikolajus 1a2e9104ff Estetic changes 2012-02-09 09:42:50 +01:00
H.B. Taylor c7e3288175 Added comment to the run() method 2012-02-08 17:33:41 -06:00
Taylor cd50ed6216 Cleaned up TODO comments 2012-02-08 13:04:45 -06:00
Taylor 5021a2d37c Added Process entire file, and configuration settings 2012-02-08 13:03:59 -06:00
Nikolajus 6f5cfc4c4a first commit of json prettify plugin 2012-02-03 15:32:42 +01:00