JSON.minify
JSON.minify copied to clipboard
Simple minifier for JSON to remove comments and whitespace
The type information has been written to `.pyi` stub files to maintain compatibility with Python 2
I tried to program it as readable/straightforward as possible with lot's off comments for easier review. I ran all the tests. For performance reason's (and because it doesn't add much...
Somewhat inspired by this: https://gist.github.com/WizKid/1170297, I have completely rewritten the minifier to achieve better performance. It passes the given tests and returns the same result as the upstream for all...
This is an example that fails (neither the tab not the last space are stripped): source: "{\"foo\": \"bar\"\t} ", assert: "{\"foo\":\"bar\"}" All tests in the suite end with \n, thus...
labview
Pull request for labview port.
Hello there! So today I tried to push a 2.5 megabyte file to my team’s Git server and it said “the pre-receive hook timed out after 120 seconds”. I asked...
See #64 NOTE: this is not yet ready, as there's still a FIXME to resolve on this line: https://github.com/getify/JSON.minify/pull/68/commits/f80d978db90f9ea3a5e781c3029fbd3adb08aeda#diff-67dad0d447d0301fffaaab6e42c4cf7129200818c5edbf19531fd115eb2f098bR127