Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove quotes from key names and numbers #15

Open
KilledByAPixel opened this issue Aug 12, 2021 · 1 comment
Open

Remove quotes from key names and numbers #15

KilledByAPixel opened this issue Aug 12, 2021 · 1 comment

Comments

@KilledByAPixel
Copy link
Owner

It should be save to remove quotes around key names and number values and add them back in when uncrushed.

This should result in smaller crushed strings in nearly all cases.

The downside is that right now the input string can be anything, doesn't need to be json. This would require that the string is valid json. Maybe a flag that defaults to false that can do additional crushing?

@KilledByAPixel
Copy link
Owner Author

check out https://jsonurl.org/ and https://github.com/jsonurl/jsonurl-js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant