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

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

    twlatl authored and infininight committed Dec 8, 2015
    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.
Commits on Dec 2, 2015
  1. Support unicode in Reformat Document

    milligramme authored and infininight committed Nov 2, 2015
    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.
Commits on Jun 18, 2014
  1. Point to ruby 1.8 shim

    infininight committed Jun 18, 2014
    Using a shim allows us to catch when 1.8 of ruby is not present and provide other options.
    
    #ignore
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

    ram-nadella committed Jan 22, 2014
    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.
Commits on Feb 19, 2013
  1. Show tool tip when prettifying JSON fails

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

    sorbits committed Feb 19, 2013
    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.
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.

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

    David Bonnet
    David Bonnet committed Jun 9, 2010
    …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
Commits on Nov 28, 2007
  1. Switch JSON prettifier to ctrl-shift-h key combination. Rename to 'Re…

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

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

    sorbits committed Mar 4, 2007
    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
Commits on Jan 16, 2007
  1. Adding the more complete JSON syntax developed as an example in the T…

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

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