Permalink
Switch branches/tags
Nothing to show
Commits on Aug 8, 2016
  1. add comma as TM_LINE_TERMINATOR

    claylo committed with infininight Jan 29, 2016
Commits on Dec 10, 2015
  1. Add Minify Document command

    After months of using other tools to minify my JSON, I figured the JSON TM bundle should be able to do this. Sharing with all now.
    twlatl committed with infininight Dec 8, 2015
Commits on Dec 2, 2015
  1. Support unicode in Reformat Document

    This switches the command to using ruby, due to the JSON library only being available in ruby 2.0+ this requires 10.9 or higher.
    milligramme committed with infininight Nov 2, 2015
Commits on Jun 18, 2014
  1. Point to ruby 1.8 shim

    Using a shim allows us to catch when 1.8 of ruby is not present and provide other options.
    
    #ignore
    infininight committed Jun 18, 2014
Commits on Jan 23, 2014
  1. Add menu layout

    infininight committed Jan 23, 2014
Commits on Jan 22, 2014
  1. Add Validate Syntax command - ⌃+⇧+V

    Add a new command that does syntax validation on the JSON file and shows the
    error message in a tooltip. Behaviour is consistent with other language
    bundles where syntax validation is implemented.
    ram-nadella committed Jan 22, 2014
Commits on Feb 19, 2013
  1. Show tool tip when prettifying JSON fails

    This was also the behavior prior to last commit.
    sorbits committed Feb 19, 2013
  2. Drop intermediate ruby code for JSON prettifier

    For reasons I didn’t care to learn, the ruby wrapper would stall for large JSON files.
    
    While the command is simply calling the python JSON tool (module) it has a shell shebang as I am not sure what code is required to replicate python’s ‘-m’ switch.
    sorbits committed Feb 19, 2013
Commits on Jan 12, 2013
Commits on Jan 7, 2012
Commits on Nov 13, 2011
  1. Move folding settings.

    infininight committed Nov 13, 2011
  2. Add readme.

    infininight committed Nov 13, 2011
  3. Improve by using Python to reformat.

    Fixes #1, #3
    infininight committed Nov 13, 2011
Commits on Jun 9, 2010
  1. Fixed little grammar bug where the fractional part of a number was re…

    …quired when written in an exponential form (i.e.: a number like 1e10 was considered as invalid and required to be written as 1.0e10).
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/JSON.tmbundle@11943 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    David Bonnet committed Jun 9, 2010
Commits on Nov 28, 2007
  1. Switch JSON prettifier to ctrl-shift-h key combination. Rename to 'Re…

    …format Document / Selection'.
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/JSON.tmbundle@8563 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    canadaduane committed Nov 28, 2007
Commits on Nov 23, 2007
  1. Added a JSON prettifier command (ctrl+shift+f)

    git-svn-id: http://svn.textmate.org/trunk/Bundles/JSON.tmbundle@8505 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    canadaduane committed Nov 23, 2007
Commits on Mar 4, 2007
  1. Add the following keys to the bundle’s info.plist:

    contactName:
       The full name of the contact for this bundle.
    contactEmailRot13:
       A ROT13 encoded email address for the bundle contact (we obfuscate it to avoid spammers from picking up the files, seeing how bundles will often be available via anonymous svn over http).
    description:
       A short description for this bundle. Do link to more info about the language (or whatever) the bundle is about. I decided on using HTML for this (but leave out the initial paragraph tag) since it seemed like overkill to run a single line of text through Markdown.pl, just to convert [foo](link) into <a href="link">foo</a>
    
    Many of the current descriptions could use some improvements, I just wanted to get the ball rolling :)
    
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/JSON.tmbundle@6718 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    sorbits committed Mar 4, 2007
Commits on Jan 16, 2007
  1. Adding the more complete JSON syntax developed as an example in the T…

    …extMate book.
    
    git-svn-id: http://svn.textmate.org/trunk/Bundles/JSON.tmbundle@6453 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    JEG2 committed Jan 16, 2007
Commits on Jan 15, 2007
  1. Add a simple JSON bundle

    git-svn-id: http://svn.textmate.org/trunk/Bundles/JSON.tmbundle@6449 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    David Powers committed Jan 15, 2007