You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
keep newlines and replace comments with white space (#42)
* keep newlines and replace comments with white space
If strip_space is False, keep newlines and replace comments with white space so that the JSON parser reports the correct line and column numbers on parsing errors.
This fixes issue #5 for the python version.
* incorporate _space_template() into the main template()
remove the tiny (redundant) white space tests.
Check that the JSON with white space preserved can be further minimized and produces the same result when fed to the JSON parser.
0 commit comments