Changelog
- Compress JSON string button based on jsmin by Douglas Crockford
- Format button based on the JSON stringify function from json2 parse
- Improved the performance loading big trees back to json string
- Added quotes back to index names for a valid json string
Some infos to this version
JavaScript minify: After JSON have the same syntax like JavaScript i use a javascript minifier called jsmin.
I really can prefer this one if you need to compress your javascript files. Very fast and for many languages available.
Visit jsmin homepage: http://javascript.crockford.com/jsmin.html
JSON stringify: If you need formatting inside your applications i learned that the easiest way is to use the json2 stringify function which is a part of the json2 parser, finding on the json homepage.
Finding this one at: http://www.json.org/js.html
No comments:
Post a Comment